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

ReploがClickHouseで1,000億件以上のイベントを最適化して学んだこと

Blog post from ClickHouse

Post Details
Company
Date Published
Author
まとめ
Word Count
154
Language
English
Hacker News Points
-
Summary

Replo utilizes ClickHouse to deliver real-time analytics for Shopify merchants, addressing the challenges of scaling such systems. Initially, Replo's analytics pipeline was simple, with all events flowing into a single table, but as usage grew, inefficiencies emerged. They transitioned to a more structured approach, grouping events by customer and session, and introduced pre-calculated metrics to reduce query costs. A significant challenge was implementing fractional attribution without causing system slowdowns, which was resolved by focusing on real-time data and limiting recalculations to recent events. The team ultimately arrived at a streamlined architecture that maintains fast query performance and minimal write latency. This journey underscores the importance of simplicity and clear trade-offs in building scalable, real-time analytics systems on ClickHouse.