# How Kami scaled from 80M to nearly 2B events per week with ClickHouse

DevFeed: [How Kami scaled from 80M to nearly 2B events per week with ClickHouse](<https://devfeed.tech/articles/how-kami-scaled-from-80m-to-nearly-2b-events-per-week-with-clickhouse-5284.md>)

Original publisher: [Read original article](<https://clickhouse.com/blog/how-kami-scaled-from-80m-to-nearly-2b-events-per-week-with-clickhouse>)

Author: ClickHouse

Published: 2025-05-16T16:16:20Z

Content type: article

Language: en

Sources: [ClickHouse Blog](<https://devfeed.tech/sources/clickhouse-blog.md>)

Topics: [clickhouse](<https://devfeed.tech/topics/clickhouse.md>), [data-architecture](<https://devfeed.tech/topics/data-architecture.md>), [Databases](<https://devfeed.tech/topics/databases.md>), [Scalability](<https://devfeed.tech/topics/scalability.md>), [Back end](<https://devfeed.tech/topics/backend.md>), [Rails](<https://devfeed.tech/topics/rails.md>), [SQL](<https://devfeed.tech/topics/sql.md>)

Tags: [analytics](<https://devfeed.tech/tags/analytics.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [backend](<https://devfeed.tech/tags/backend.md>), [clickhouse](<https://devfeed.tech/tags/clickhouse.md>), [covid-19](<https://devfeed.tech/tags/covid-19.md>), [data](<https://devfeed.tech/tags/data.md>), [data-architecture](<https://devfeed.tech/tags/data-architecture.md>), [migration](<https://devfeed.tech/tags/migration.md>), [new-zealand](<https://devfeed.tech/tags/new-zealand.md>), [performance](<https://devfeed.tech/tags/performance.md>), [postgres](<https://devfeed.tech/tags/postgres.md>), [remote](<https://devfeed.tech/tags/remote.md>), [scale](<https://devfeed.tech/tags/scale.md>), [sql](<https://devfeed.tech/tags/sql.md>)

## AI overview

Kami's event-tracking system grew from about 80 million to nearly 2 billion weekly events during the COVID-19 pandemic, pushing its Postgres-based architecture beyond practical limits. The article describes Kami's migration to ClickHouse and the resulting improvements in scalability and query performance.

## Source excerpt

"After testing multiple options, we decided ClickHouse was the best solution for our needs and really the only one that could handle our scale." - Jordan Thoms, co-founder and CTO