---
title: "How Hud is building the first runtime code sensor with ClickHouse Cloud"
description: "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."
url: "https://swe.quest/articles/how-hud-is-building-the-first-runtime-code-sensor-with-clickhouse-cloud-bf99a6ef581b7571"
canonical: "https://clickhouse.com/blog/hud-runtime-code-sensor"
source: "ClickHouse"
published: "2025-11-10"
difficulty: "medium"
kind: "Case study"
reading_minutes: 7
tags: ["analytics","observability","data-pipelines","scalability"]
---

# How Hud is building the first runtime code sensor with ClickHouse Cloud

A post on [ClickHouse](https://swe.quest/sources/clickhouse.md), published 2025-11-10, 7 min read, Case study. Original: [https://clickhouse.com/blog/hud-runtime-code-sensor](https://clickhouse.com/blog/hud-runtime-code-sensor)

## Summary

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.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Analytics & OLAP](https://swe.quest/tags/analytics.md) (Data & databases)
- [Observability](https://swe.quest/tags/observability.md) (Reliability & operations)
- [Data pipelines](https://swe.quest/tags/data-pipelines.md) (Data & databases)
- [Scaling](https://swe.quest/tags/scalability.md) (Distributed systems)

## Prerequisites

- columnar databases ([easy posts on Databases](https://swe.quest/tags/databases.md?difficulty=easy))
- observability telemetry basics ([easy posts on Observability](https://swe.quest/tags/observability.md?difficulty=easy))

## Keywords

ClickHouse Cloud, ReplacingMergeTree, Null engine, Redis, Hud, PostgreSQL

## Related posts

- [How ClickHouse Cloud enabled LaunchDarkly to build and ship features faster](https://swe.quest/articles/how-clickhouse-cloud-enabled-launchdarkly-to-build-and-ship-features-faster-0e4ac03aed14f7e6.md): ClickHouse · 2026-01-22 · Medium · 10 min read · Analytics & OLAP, Data pipelines, Observability, Multi-tenancy, Cloud platforms
  LaunchDarkly replaced Kinesis/Flink/Lambda streaming pipelines and an S3/Parquet/Athena batch warehouse with ClickHouse Cloud.
- [Data Hive: The story of beehiiv’s journey from Postgres to ClickHouse](https://swe.quest/articles/data-hive-the-story-of-beehiiv-s-journey-from-postgres-to-clickhouse-467867cb2bebb87b.md): ClickHouse · 2024-08-21 · Easy · 6 min read · Analytics & OLAP, Databases, PostgreSQL, Stream processing, Queues & messaging
  beehiiv replaced its Postgres-and-Ruby-queue analytics system, which struggled with billions of email events and had multi-hour reporting delays, with a Kafka-fed ClickHouse Cloud pipeline.
- [How Fountain rebuilt its data plane on ClickHouse Cloud to power Cue, the Frontline Superintelligence](https://swe.quest/articles/how-fountain-rebuilt-its-data-plane-on-clickhouse-cloud-to-power-cue-the-0dccb4dc5f23d9f5.md): ClickHouse · 2026-09-22 · Medium · 9 min read · Analytics & OLAP, Data pipelines, Event-driven architecture, Multi-tenancy, AI agents
  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.
- [How HighLevel rebuilt its data platform for speed, scale, and simplicity on ClickHouse Cloud](https://swe.quest/articles/how-highlevel-rebuilt-its-data-platform-for-speed-scale-and-simplicity-on-826417013669e8fd.md): ClickHouse · 2026-01-12 · Medium · 8 min read · Analytics & OLAP, Databases, Scaling, Observability
  HighLevel replaced MySQL, Elasticsearch, Firestore and a document database with ClickHouse Cloud for lead activity, workflow logs, notifications and billing dashboards.
- [How SolarWinds uses ClickHouse BYOC for real-time observability at scale](https://swe.quest/articles/how-solarwinds-uses-clickhouse-byoc-for-real-time-observability-at-scale-39448c307e0eeb75.md): ClickHouse · 2025-03-11 · Medium · 5 min read · Analytics & OLAP, Performance engineering, Observability, Cloud platforms
  SolarWinds ingests about 3 million telemetry messages per second, roughly 550 MB/s with 1 GB bursts, into ClickHouse ReplacingMergeTree tables.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
