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

Kinesis consumer balancing

Blog post from Knock

Post Details
Company
Date Published
Author
Brent Anderson
Word Count
1,309
Company Posts That Month
2
Language
English
Hacker News Points
-
Post removed?
No
Summary

Knock, a company providing APIs for integrating notifications into products, previously faced issues with uneven distribution of AWS Kinesis consumers across Kubernetes pods during deployments, leading to CPU overutilization. To resolve this, they implemented a hashring approach to distribute consumers evenly across their cluster. By using consistent hashing, each shard and consumer combination is deterministically assigned to a specific pod, ensuring balanced load distribution and self-healing capabilities in case of failures. This solution significantly reduced peak CPU utilization and improved platform performance and reliability. The hashring approach also minimizes the need for manual intervention during uneven consumer distribution, contributing to a consistent and reliable deployment process. Despite the system's complexity, it enhances Knock's ability to provide a robust notification solution, ensuring efficient operation and customer satisfaction.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Kubernetes 5 1,274 169 70 -11%
Real-time 1 2,676 708 189 +23%
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.