Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Databases Remove topic Databases Clear all 153 posts RSS

November 2026

ClickHouse

How Infinitas Learning uses ClickHouse Managed Postgres to process billions of events for 1.6M unique learners

Case study 9 min +90 XP

Infinitas Learning runs transactional learner-result processing on Postgres, with PL/pgSQL functions serving as the API in place of an earlier Kafka/Flink event-sourced pipeline, and customer-facing analytics on ClickHouse.

October 2026

September 2026

ClickHouse

Introducing ClickHouse's new TimeSeries Engine: Your drop-In Prometheus replacement

Announcement 11 min +110 XP

ClickHouse Cloud's private preview adds a TimeSeries table engine and server-side PromQL evaluation, so Prometheus metrics arrive via remote-write v1 and are queried with unchanged PromQL from Grafana, the Prometheus HTTP API, clickhouse-client's promql dialect, SQL table functions, or ClickStack.

August 2026

ClickHouse

New system views in PostgreSQL 19

Deep dive 12 min +120 XP

PostgreSQL 19 (in beta) adds four system views, and three of them get hands-on demos. pg_stat_lock gives cumulative per-locktype wait counts, wait time and fastpath_exceeded counters, though waits only count once they pass deadlock_timeout. pg_stat_recovery returns standby replay state as one atomic, consistent snapshot. pg_stat_autovacuum_scores shows the new score-based autovacuum prioritization, tunable through five weight parameters.

July 2026

ClickHouse

How Bullet uses ClickHouse Cloud to give DeFi's fastest exchange real-time analytics

Case study 9 min +90 XP

Bullet, a Rust-based DeFi perpetuals exchange running as an app-specific rollup on Solana with ~500μs p50 order processing, indexes 150M+ rows per hour of sequencer events into ClickHouse Cloud for trade history, real-time analytics and monitoring.

June 2026

May 2026

April 2026

March 2026

ClickHouse

How Socialpruf built a faster, more reliable data stack by replacing Neon with Postgres managed by ClickHouse

Case study 7 min +70 XP

Socialpruf, a social analytics platform ingesting hundreds of posts per second, moved customer-facing dashboard queries from Postgres to ClickHouse via CDC, cutting multi-second load times to millisecond aggregations.

ClickHouse

Designing the new async-native ClickHouse Python client

Deep dive 12 min +120 XP

The new async-native clickhouse-connect client replaces the legacy thread-pool wrapper with aiohttp for network I/O and a half-sync/half-async design: an async producer streams response chunks into a bounded queue (10 chunks of up to 1MB) while the existing synchronous Native-format parser consumes them in an executor thread, with the same queue reversed for inserts.

February 2026

January 2026

December 2025

November 2025

ClickHouse

10x speed, 10x savings: Constant Contact’s journey from Pinot to ClickHouse

Case study 5 min +50 XP

Constant Contact replaced Apache Pinot with ClickHouse for real-time marketing analytics after Pinot's upsert handling without compaction grew to ~180 GB of daily segments, forced memory increases, and made restores take weeks.

October 2025

September 2025

August 2025

ClickHouse

How we made ClickHouse UPDATEs 1,000× faster (Part 3: Benchmarks)

Research 17 min +170 XP

ClickHouse's new standard SQL UPDATEs, implemented as lightweight patch parts, make changes visible up to ~1,000–1,700× faster than classic mutations on a 600M-row TPC-H lineitem table: one bulk update dropped from about 100 s to 60 ms. The benchmark compares classic mutations, on-the-fly mutations, lightweight updates and ReplacingMergeTree inserts for both bulk and single-row updates, measuring time to visibility and worst-case query slowdown before merges.

July 2025

ClickHouse

How we built fast UPDATEs for the ClickHouse column store – Part 2: SQL-style UPDATEs

Deep dive 20 min +200 XP

ClickHouse implemented standard SQL UPDATE in its MergeTree column store by evolving from classic mutations (which rewrite whole affected columns and hard-link unchanged ones) through lightweight DELETEs via a _row_exists mask column and on-the-fly in-memory updates, to patch parts.

June 2025

May 2025

April 2025

March 2025

ClickHouse

Accelerating ClickHouse queries on JSON data for faster Bluesky insights

How-to 29 min +290 XP

Incremental materialized views feeding AggregatingMergeTree tables cut ClickHouse dashboard queries over 4+ billion Bluesky JSON documents (1.6 TiB) from 44–56 seconds to 3–7 ms. Partial aggregation states are computed only for newly inserted rows and merged in the background, so the pre-aggregated tables stay tiny (e.g. 892 rows, 11 KiB) and constant-size regardless of source growth.

ClickHouse

Longbridge Technology simplifies their architecture and achieves 10x performance boost with ClickHouse

Case study 8 min +80 XP

Longbridge, a Singapore online brokerage, replaced a fragmented market-data stack of PostgreSQL (historical), Redis (real-time) and DynamoDB (high-write) with ClickHouse after evaluating it against TimescaleDB and TDengine for write throughput, Decimal support, time functions and aggregations.

February 2025

ClickHouse

ClickHouse Input format matchup: Which is fastest & most efficient

Research 22 min +220 XP

FastFormats is a benchmark that measures ClickHouse server-side ingestion time and hardware efficiency across roughly 60 input formats, crossed with batch size, pre-sorting and compression, using the ClickBench web analytics dataset over the HTTP interface.

January 2025

December 2024

November 2024

October 2024

September 2024

August 2024

June 2024

May 2024

April 2024

February 2024

January 2024

The quest for software engineering knowledge.

Look:
Layout: