Show HN: Straum – a Postgres materialized view that is never stale
Category: infrastructure
Tags: postgresql, materialized-views, change-data-capture, aggregation, rust
Score: 7.3/10 (Innovation: 7, Technical: 8, Documentation: 8, Utility: 6)
Straum is a Rust service that maintains live, exact aggregate views over PostgreSQL by consuming its replication stream, answering HTTP queries in microseconds without touching the database. It supports percentiles, distinct counts, FILTER, and joins via a CREATE VIEW-style spec, targeting dashboard/analytics workloads where scheduled materialized views are too slow or stale.
Target audience: backend devs, data engineers, devops
Repository: https://github.com/janbjorge/straum · Rust · Apache-2.0 · 1 stars
View on Hacker News