From Millions to Billions

This title could be clearer and more informative.Try out Clickbait Shieldfor free (5 uses left this month).

Geocodio migrated their request logging system from MariaDB with deprecated TokuDB to ClickHouse Cloud after hitting performance issues at billions of monthly requests. The solution involved introducing Kafka for event streaming and Vector for batch processing, moving from individual row inserts to batched inserts of 30k-50k

12m read timeFrom geocod.io
Post cover image
Table of contents
Why Track All These Requests?The Original ArchitectureHow Request Tracking Works in LaravelThe Problems Started Piling UpAttempt #1: Just Swap MariaDB for ClickHouseThe TOO_MANY_PARTS ErrorThe TOO_MANY_LINKS ErrorEnter Justin Jackson and Jon BudaThe Solution: Kafka + Vector + ClickHouseMoving to ClickHouse CloudThe Migration StrategyKey TakeawaysBig Thanks
2 Comments

Sort: