Catalogue / agoda-2021-kafka-pipeline

Agoda sends around 1.5 trillion events a day through Kafka and forwards analytics events from a daemon on every node

Agoda, 2021. Kafka pipeline and clusters.

Organisation
Agoda
Evidence
Reported from production
Source
How Agoda manages 1.5 Trillion Events per day on Kafka

Agoda Engineering (Medium), published 2021-07-13

Records

Decision#d1

Have applications log events to local disk and let a node daemon forward them to Kafka

Decision#d2

Run several smaller Kafka clusters split by use case instead of one large cluster per data center

Decision#d3

Give ZooKeeper its own physical nodes and SSDs, apart from the Kafka brokers

Decision#d4

Count messages at each pipeline stage and store the audits in a dedicated Kafka cluster

Decision#d5

Measure cluster capacity as the highest of several resource-to-limit ratios, not as disk used

Decision#d6

Attribute estimated Kafka cost to each topic's owning team by bytes sent, leaving consumer usage out

Decision#d7

Add authentication and ACLs to Kafka clusters that had started without them

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.