Skip to content

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

599 posts RSS

Last week

Week of Nov 16

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.

Week of Nov 9

ClickHouse

The observability UI as we know it is dead. So what comes next?

Announcement 9 min +90 XP

ClickHouse Observability Apps, now in private preview in ClickStack, let teams describe an observability application in natural language and have an agent generate it over live logs, traces and metrics, instead of waiting for a vendor to build every custom view.

Week of Nov 2

ClickHouse

Fencing a Postgres primary that might still be alive

Case study 10 min +100 XP

Before promoting a standby, a managed Postgres control plane must fence the old primary, because promotion and DNS changes alone don't stop writes: async standbys, per-session synchronous_commit overrides, quorum commit with a remaining standby, and canceled commits already in WAL can all let a still-alive primary accept writes.

Week of Oct 26

ClickHouse

How OpenRouter observes, understands, and acts on 740 million LLM requests a day with ClickHouse Cloud

Case study 7 min +70 XP

OpenRouter uses ClickHouse Cloud as a single store for request telemetry from its LLM gateway, writing each request once and using materialized views to produce rollups for customer activity charts, provider health dashboards, public model rankings and routing decisions.

ClickHouse

Why ClickHouse Cloud wins at real-time analytics

Deep dive 21 min +210 XP

In the CostBench streaming benchmark (113.2 billion stock quotes ingested at about 1M rows/s while queries ran), ClickHouse Cloud scored 412× to 1,996× better end-to-end performance per dollar than Snowflake, Databricks, BigQuery and Redshift Serverless.

Week of Oct 19

ClickHouse

Trace and evaluate Cursor agents with Langfuse, powered by ClickHouse

How-to 5 min +50 XP

The Langfuse Observability plugin for Cursor captures each agent prompt as a `Cursor Turn` trace containing LLM observations, tool executions, subagents and token usage, stored in a wide ClickHouse observations table that avoids trace/observation joins for cost and latency aggregation.

Week of Oct 12

Week of Oct 5

ClickHouse

How we migrated Clera’s 500 GB production database to ClickHouse Managed Postgres overnight

Case study 8 min +80 XP

Clera moved a 500 GB, 500+ table production Postgres database from the EU to the US overnight onto ClickHouse Managed Postgres, with production traffic still running, using two parallel ClickPipes pipelines.

ClickHouse

Why BigQuery can’t match ClickHouse Cloud for real-time analytics

Research 19 min +190 XP

In the CostBench benchmark, ClickHouse Cloud and BigQuery ingest 113.2 billion stock quotes at a target of 1M rows/s while aggregate and drill-down queries run continuously, and ClickHouse Cloud scores 438× better end-to-end performance per dollar under BigQuery Capacity pricing and 512× under On-demand.

ClickHouse

Executable UDFs are now generally available on ClickHouse Cloud

Announcement 20 min +200 XP

Executable UDFs are now generally available on ClickHouse Cloud across AWS, GCP and Azure, adding a Native runtime for statically linked Rust/Go/C++/JavaScript binaries, outbound network access, per-process memory limits, a deterministic flag that enables the query cache, Cloud API and Terraform support, and per-query UDF metrics in 26.6+.

Week of Sep 28

ClickHouse

Memory safety for Postgres extensions in C/C++

Case study 4 min +40 XP

Postgres's palloc/MemoryContext allocation and setjmp/longjmp-based error handling clash with C++ new/delete, destructors and exceptions: longjmp skips destructors (undefined behavior), exceptions bypass PG_CATCH, and an uncaught exception aborts the process and forces cluster-wide crash recovery.

Week of Sep 21

ClickHouse

How Fountain rebuilt its data plane on ClickHouse Cloud to power Cue, the Frontline Superintelligence

Case study 9 min +90 XP

Fountain replaced a multi-vendor batch pipeline (third-party replication to S3/Iceberg, then BigQuery) with ClickPipes CDC streaming Postgres and MongoDB directly into ClickHouse Cloud, cutting analytics freshness from three hours to under two minutes, with most queries sub-second, at about 66% lower cost.

Week of Sep 14

ClickHouse

Postgres week in the Netherlands: PGDay Lowlands & Percona Live 2026

Article 7 min +70 XP

Notes from PGDay Lowlands in Utrecht and Percona Live in Amsterdam, covering two ClickHouse-maintained Postgres extensions and several PostgreSQL 19 features. pg_clickhouse is a foreign data wrapper that lets unmodified Postgres queries and ORMs run against ClickHouse via pushdown, with 15 of 22 TPC-H queries fully pushed down. pg_stat_ch streams per-query execution events through a shared-memory ring buffer to ClickHouse without back-pressure.

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.

Week of Sep 7

ClickHouse

Why Snowflake can’t match ClickHouse Cloud for real-time analytics

Research 18 min +180 XP

In the CostBench continuous-ingestion benchmark (113.2 billion stock quotes streamed toward 1M rows/s while aggregate and drill-down queries ran on the freshest data), ClickHouse Cloud scored 412× better end-to-end performance per dollar than Snowflake.

ClickHouse

Introducing chdb Postgres extension: High-performance imports from cloud storage

Announcement 7 min +70 XP

chdb is a new Postgres extension that uses the in-process ClickHouse engine chDB to import and export data in dozens of formats (CSV, JSON, Parquet, Avro, Arrow, ORC, Protobuf and more) from S3, GCS, Azure, HDFS, HTTP and local files, via a chdb_query() function and a chdb_hook module that extends COPY and CREATE TABLE.

Week of Aug 31

ClickHouse

The Agentic Analytics Benchmark: Measuring model accuracy and efficiency in analytical agents

Research 19 min +190 XP

data-agent-mnist is an open harness for benchmarking agentic analytics, built from 201 real questions from ClickHouse's internal agent DWAINE and replayed against a deterministically seeded, anonymized synthetic reconstruction of their dbt warehouse (18 tables, 865 columns).

ClickHouse

How Uken Games reduces observability costs by 87% with ClickHouse

Case study 7 min +70 XP

Uken Games replaced Datadog with an open-source observability stack: OpenTelemetry collectors in an agent-plus-gateway layout, SigNoz on a single ClickHouse node for traces, AWS-managed Prometheus for metrics, CloudWatch for logs, and Grafana alerts defined as code via a custom CloudFormation resource.

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.

Week of Aug 24

ClickHouse

A universal interface: How QuintoAndar made ClickHouse plug-and-play with managed Postgres

Case study 6 min +60 XP

QuintoAndar's customer data platform replaced a Lambda architecture (a Postgres hot layer plus Kafka Connect into a Delta landing zone processed by 24/7 Databricks jobs with costly MERGE INTO deduplication) by having its event gateway write about 900 million monthly events directly into ClickHouse Cloud, which also serves roughly 300 million API requests a month with sub-second reads.

Week of Aug 17

ClickHouse

Shopify powers observability for global-scale commerce with ClickHouse

Case study 8 min +80 XP

Shopify consolidated metrics, logs, traces, exceptions and profiles from multiple vendors onto Observe, an internal observability platform built on self-hosted ClickHouse, and saw a 16x query improvement out of the box (over 30x at peak) along with predictable costs.

Week of Aug 10

Week of Aug 3

ClickHouse

How Physical Intelligence unified its robotics data stack with Postgres managed by ClickHouse

Case study 16 min +160 XP

Physical Intelligence, a robotics foundation-model lab, split its data into raw petabyte-scale training data, transactional data needing ACID guarantees (under 100M rows), and high-cardinality metadata and annotations (10 to 100 billion rows).

ClickHouse

Fixed cadence to seconds: making ClickHouse Cloud autoscaling more reactive

Case study 13 min +130 XP

ClickHouse Cloud's vertical autoscaling recommender moved from a fixed timer loop to a controller-runtime based design, so services that hit memory pressure get a recommendation in seconds instead of waiting for the next scheduled pass.

The quest for software engineering knowledge.

Look:
Layout: