Home / Companies / Knock / Blog / August 2024

August 2024 Summaries

2 posts from Knock

Filter
Month: Year:
Post Summaries Back to Blog
Knock has introduced "Partials," reusable content pieces designed to streamline and enhance the management of notification templates as products scale. These Partials allow teams to create modular content that can be independently updated and integrated across different templates using the Knock CLI and management API, supporting formats like HTML, markdown, plaintext, or JSON with dynamic variables via Liquid. Partials can be composed within each other for flexible content creation, and their lifecycle can be managed programmatically, allowing for version control and integration into existing workflows. The feature is part of Knock's broader efforts to improve template management, including typeahead and autocomplete features, a text formatting bar for markdown templates, and enhancements for in-app notifications and localization. Partials are available to all Knock customers and can be explored through their free plan, offering a seamless way to maintain consistency and efficiency across notification systems.
Aug 14, 2024 597 words in the original blog post.
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.
Aug 01, 2024 1,309 words in the original blog post.