Data needs its DevOps moment
Data pipelines should be treated like any other production service: defined as code in the producing team's repo, with portable SQL logic tested in CI, and run 24x7 against SLOs for lag, freshness and completeness. A SQLFlow pipeline on Render shows the idea. It aggregates the Bluesky Jetstream firehose into one-minute tumbling windows per language before storing anything, which reduced 15 million posts to 6,577 Postgres rows and runs in a 512 MB instance. Render's default memory charts exposed two leaks that tests missed. DuckDB never freed deleted rows from indexed tables after a checkpoint, and the DuckDB Postgres extension copied key columns on every upsert. Fixing these led to a native pgx sink and a 30-minute soak test before each release.
Related posts
- Scaling SaaS security: Reco’s migration from Postgres to ClickHouse Cloud
ClickHouse mediumAdept
Reco, a SaaS security platform ingesting 10-12 billion JSON events weekly, moved over 90% of its workload from Postgres to ClickHouse Cloud. Running both databases synced via CDC had made schema migrations, updates, deletes and VACUUM painful. Reco replaced RDBMS features with ReplacingMergeTree and CollapsingMergeTree for upserts and deletes, idempotency and eventual consistency instead of transactions, and tenant-level atomic materialized view refreshes via REPLACE PARTITION. Further gains came from compute-compute separation, spill-to-disk settings, parallel_distributed_insert_select=2 (cutting resource needs by a third) and data-skipping indexes, plus using the EmbeddedRocksDB engine as a streaming state store in place of Spark state and Redis.
- 98% faster queries, 50% lower cloud costs: Verihubs’ journey from Postgres to ClickHouse
ClickHouse mediumAdept
Verihubs replaced a Postgres warehouse fed by daily Airflow batch pulls with a ClickHouse-based real-time OLAP stack. Kafka Connect and Debezium CDC stream data into MergeTree tables for append-only logs and ReplacingMergeTree tables for updatable rows. Materialized views and projections build daily and monthly rollups for reconciliation and invoicing, and Dagster handles complex detection jobs. Queries dropped from 20-30 minutes to 2-3 seconds, and cloud costs fell up to 50%. Lessons include designing ordering keys up front, choosing MergeTree engines carefully, expecting asynchronous mutations, and planning backfills because materialized views don't backfill automatically.
- “Just OLAP it”: How Ramp rebuilt its analytics platform on ClickHouse Cloud
ClickHouse mediumAdept
Ramp moved customer-facing spend analytics off its Postgres monolith after enterprise customers' reports on a single card-transactions table began taking 40+ seconds, and now serves them in milliseconds from ClickHouse Cloud. The pipeline streams Postgres CDC via Debezium into per-table Kafka topics. Stateless Python enrichers denormalize the records, and a connector loads them into ReplacingMergeTree tables, with recurring OPTIMIZE and FINAL queries handling deduplication. A local benchmark of 60M transactions partitioned by business ID ran 16,000 randomized queries in 12 seconds, and a four-engineer pod shipped to production in about two months. The platform now backs in-app Reporting and Budgets, and Ramp plans to add enriched tables for every core data type.
- How Hud is building the first runtime code sensor with ClickHouse Cloud
ClickHouse mediumAdept
Hud, a runtime code sensor that tracks function-level behavior in production, moved its telemetry enrichment pipeline from a Node.js service plus Redis state machine into ClickHouse Cloud itself. Null engine tables and dictionaries handle in-memory enrichment, and ReplacingMergeTree tables act as a queue-like buffer that holds telemetry arriving before its metadata, with stale rows expiring automatically. Removing Redis eliminated network round-trips and memory pressure. The pipeline now ingests hundreds of MB/s of raw JSON, which compresses to tens of MB/s, stores over 11 TB, and detects degradations within minutes of a release. Hud originally left Postgres for ClickHouse because of its columnar layout and support for high cardinality.
- How SewerAI is using ClickHouse to modernize sewer management at scale
ClickHouse mediumAdept
SewerAI replicates its Postgres transactional data into ClickHouse via CDC (moving from Confluent/Debezium to self-hosted Debezium+Kinesis to PeerDB, and now ClickPipes) and uses materialized and refreshable materialized views to denormalize 40+ tables into a single hundreds-of-billions-row "Megatable" for real-time municipal analytics. Bulk customer operations caused update failures and backlogs because compute was always near its limit. The fixes were incremental refreshes over only the last ~70 seconds of data, projections on clean tables, dictionaries instead of LEFT ANY joins, join ordering, LIMIT instead of DISTINCT, and filtering before joins, which alone gave about 3x speed at half the compute. With these changes, data volume tripled and read/write operations rose tenfold while compute usage stayed flat.