Grokking Kafka and Event-Driven Architecture
Vote

0% completed

​

Retention

A ride-hailing company completes about 900,000 rides a day, and every finished ride publishes a RideReceipt event of about 1.5 KB to a topic named ride-receipts. That is about 1.35 GB a day. Kafka's default retention is 7 days, so one copy of the topic holds about 9.5 GB, and the three copies of the documented durable setup hold about 28 GB.

The finance team then asks for 90 days of receipts, because riders can dispute a fare for up to three months. At 90 days, one copy holds about 122 GB and three copies hold about 365 GB. A single setting has multiplied the disk by almost 13.

.....

.....

.....

Like the course? Get enrolled and start learning!

Reading Progress

0%


Vote for new content