Show HN: Straum – A Postgres sidecar that keeps your dashboard aggregates live
Category: database
Tags: postgresql, materialized-views, real-time-analytics, replication, rust, sidecar
Score: 8.3/10 (Innovation: 8, Technical: 9, Documentation: 8, Utility: 8)
Straum is a PostgreSQL sidecar that maintains live, exact materialized aggregates by consuming the replication stream and serving queries over HTTP. It eliminates stale scheduled refreshes, supporting complex aggregates like percentiles and distinct counts with microsecond latency on multi-million row datasets. The Rust implementation and careful handling of joins, time buckets, and WAL make this an impressive engineering feat for real-time dashboards.
Target audience: backend developers, data engineers, devops, platform teams
Repository: https://github.com/janbjorge/straum · Rust · Apache-2.0 · 2 stars
View on Hacker News