Catalogue / trello-2018-kafka-sockets

Trello replaced a 15-instance RabbitMQ setup with Kafka for websocket updates after repeated cluster failures on network partitions

Trello, 2018. Websocket update distribution.

Organisation
Trello
Evidence
Reported from production
Source
Why we chose Kafka for the Trello socket architecture

Atlassian blog, published 2018-03-29

Records

Decision#d1

Replace RabbitMQ with Kafka as the queue feeding websocket servers

Decision#d2

Have one socket-server master consume the whole topic and filter locally, not one broker binding per subscription

Decision#d3

Pick the Kafka driver that survives partition failover, despite its C++ dependency

Failure#f1

A mass reconnect hit Kafka servers with a wrongly set open-file limit

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.