DevTrends开发者趋势
主题色

janbjorge /

straum

I've seen too many slow-log queries with a GROUP BY that makes Postgres blow up, so for the last two weeks or so I've been working on Straum. You declare the aggregates as a view, and Straum answers over HTTP (…

DT研究与学习DT内容 / 资源DTSkill / 插件

关于

I've seen too many slow-log queries with a GROUP BY that makes Postgres blow up, so for the last two weeks or so I've been working on Straum. You declare the aggregates as a view, and Straum answers over HTTP (other transports might be added). I've been using the New York taxi dataset as a benchmark. On the heavier GROUP BYs I see about 1,000x to 5,000x. It's written in Rust (of course). It leans on Postgres replication slots, logical or physical, to get its data. Postgres stays the source of truth. Benchmark: https://janbjorge.github.io/straum/benchmark.html Repo: https://github.com/janbjorge/straum

收录记录

  1. Show HN

    2026年11月21日 – 2026年11月23日 · 1 次收录

讨论这个产品