Agoda processes hundreds of terabytes of Kafka data daily for real-time price updates from suppliers. Standard round-robin partitioning caused over-provisioning due to heterogeneous hardware and uneven message workloads. Static solutions like identical pod deployments and weighted load balancing were rejected as impractical.
Table of contents
Partitioner and Assignor StrategyThe Over-provisioning Problem At AgodaThe Solution Agoda Didn’t AdoptAgoda’s Dynamic Lag-Aware SolutionAlgorithms for Lag-aware ProducerSort: