Catalogue / trello-2012-tech-stack

Trello in 2012 pushed board changes over WebSockets from Node.js, with Redis pub/sub between processes and short polling as fallback

Trello (Fog Creek), 2012. Trello server and realtime update layer.

Organisation
Trello (Fog Creek)
Evidence
Reported from production
Source
The Trello tech stack

Atlassian blog (Trello), published 2012-01-19 (A 2012 Trello post now hosted on Atlassian's blog; the saved page names no author.)

Records

Decision#d1

Push updates over WebSockets where browsers support them and keep plain short polling as a working fallback

Decision#d2

Use Redis for ephemeral shared state, the polling fallback's change lists, and pub/sub between server processes

Decision#d3

Store Trello's data in MongoDB, where a card can be a single document, giving up relational features

Decision#d4

Run a modified Socket.io that uses only the WebSocket transport

Sign in to read what was chosen, what was rejected and what it cost, each with its place in the source. An account is free. The job-queue cards are open without one.