Data Infrastructure & Analytics
Scaling out PostgreSQL for CloudFlare Analytics using CitusDB

Scaling out PostgreSQL for CloudFlare Analytics using CitusDB

4/9/2015 · Albert Strasheim

What this post added

This post details the significant evolution of Cloudflare's data infrastructure for analytics, specifically addressing the scaling challenges of their log processing pipeline. It introduces the adoption of CitusDB to scale PostgreSQL beyond a single instance, enabling real-time analytics with sub-second query responses across billions of rows. The post also elaborates on the pipeline architecture, including the use of Nginx with Lua, Cap'n Proto, Go programs, and Kafka, highlighting the rationale behind choosing each technology for performance, persistence, and future extensibility.

Read the original post ↗