14x Faster with 12x Less Compute: Sometimes Postgres Really Is All You Need
summary
Builds a drop‑in OpenTSDB adapter over Postgres + Timescale to replace an HBase/OpenTSDB stack ingesting ~20–30k points/sec from ~20k devices. Moves from 12 HBase region servers (≈200 GB cache, weekly crash dominoes) to one EC2 Postgres with <20% CPU, uses Kafka to replay ALB logs for test validation, and ships a ~3k‑line .NET adapter and dockerized debug UI. Results: 14x faster queries, 12x less compute, and typical dashboard loads ~20x faster.
AI-written summary · about
chapters (13)
- 0:00Introduction and background
- 2:54Key time series terms
- 7:25HBase limitations and issues
- 15:27Why relational DBs fail for time series
- 16:52Time ScaleDB solution overview
- 19:41Building OpenTSDB replacement
- 22:28Testing and validation process
- 24:16Performance comparison results
- 28:50Real-world demo and results
- 30:55Debug UI and open source project
- 31:56Key takeaways and lessons learned
- 38:57Sponsors and contact information
- 39:39Q&A session
