Lago - Using Clickhouse to Scale an Events Engine
Blog post from ClickHouse
Lago, an open-source usage-based billing platform, switched from a Postgres-only database stack to a hybrid one with ClickHouse for streamed events and Postgres for other data needs. The decision was made due to the heavy load times experienced as they began ingesting millions of events per minute. They chose ClickHouse because it is an OLAP (online analytical processing) database designed for efficiently answering complex read queries with approximate accuracy and batch processing a large number of write queries. Lago's performance improved significantly after moving to ClickHouse, with some main queries showing improvements of up to 137x. Other open-source projects that have made the switch from Postgres to ClickHouse include PostHog and GitLab.
| Trend | Post Mentions | Total Month Mentions | Posts | Companies | MoM |
|---|---|---|---|---|---|
| Real-time | 3 | 2,009 | 572 | 187 | -14% |
| Serverless | 2 | 574 | 115 | 68 | -41% |
| Observability | 1 | 871 | 206 | 85 | -29% |
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.