Home / Companies / Tinybird / Blog / Post Details
Content Deep Dive

Horizontally scaling Kafka consumers with rendezvous hashing

Blog post from Tinybird

Post Details
Company
Date Published
Author
David Manzanares
Word Count
2,275
Company Posts That Month
159
Language
English
Hacker News Points
-
Post removed?
No
Summary

Apache Kafka is a widely used architecture for building scalable and fault-tolerant streaming applications, making it an essential component for enterprises handling event data. Tinybird, a platform for developers to create low-latency APIs, faced a challenge with its Kafka connector due to the exponential increase in Kafka costs with only linear customer growth. Initially, Tinybird's Kafka consumers were optimized for throughput and availability, but this approach resulted in scalability issues due to too many Kafka connections. To address this, Tinybird implemented rendezvous hashing, a method allowing them to reduce the number of Kafka connections while maintaining high throughput and availability. This solution distributed agents across hundreds of topics, minimized rebalancing during changes, and significantly reduced infrastructure costs. Tinybird now supports ingestion from numerous concurrent topics, providing a cost-efficient and scalable solution for developers building analytics on Kafka data.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Real-time 4 6,887 1,132 212 +49%
Serverless 2 1,599 300 96 +114%
Kubernetes 1 2,271 264 89 +53%
Observability 1 2,122 444 131 +14%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.