frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Diom – Back end primitives (queue, rate limit, etc.) in one Rust binary

https://github.com/svix/diom
2•tasn•41m ago
Hey HN, my name is Tom, and I'm excited to share Diom (https://diom.com) - a backend components server.

Diom includes implementations for common backend primitives such as cache, key-value, idempotency, rate-limiting, queues, and streams, with more on the way.

While building Svix, we had to reimplement the same backend primitives that everyone have to reimplement. We also constantly felt the tension between building something custom on top of existing infra (like Redis and Postgres) and adding more dedicated services (like RabbitMQ and Kafka) which we would then need to configure, operate, back up, and maintain. This was even worse for us because Svix is open-source, so additional infrastructure meant additional burden on our customers.

Six months ago we finally decided to build Diom, and focus on developer experience and ease of operation. It's open source, self-contained, and manages its own storage using fjall (a fast LSM-tree-based storage similar to RocksDB). It requires no external runtime dependencies (no redis/postgres/kafka/etc), and supports running as a single node or a highly-available Raft based cluster.

The goal of Diam is to provide developers with the backend primitives they need without having to write custom code on top of Redis, RabbitMQ, Kafka, or even need to run them at all. It currently supports cache, key-value, idempotency, rate-limiting, queues, and streams. We also plan on adding auth-tokens, distributed settings, feature flags, and other common components; as well as adding more functionality to existing components.

Diom favors ease of operation over scale, so it doesn't match Kafka-level throughput or very high QPS like Redis and Dragonfly. However, most products and developers don't process multiple terabytes and billions of events per second anyway. That said, Diom can still hit high performance for its target use-cases as it implements higher-level primitives rather than basic operations. Additionally, because the primitives live in the same process as the storage, there are fewer network round-trips, which keeps latency low.

It uses HTTP/2 with msgpack as the wire protocol (works fine from browsers), and ships a CLI and SDKs for Python, TypeScript, Rust, Go, and Java, with more on the way.

We have Svix fully ported to Diom and continuously running tests and simulated workloads in one of our staging environments. GA (general availability) is planned for later this year, once we've moved Svix production workloads over.

Repo (MIT licensed): https://github.com/svix/diom

Docs: https://docs.diom.com

Live playground: https://diom.com/playground

I'm excited to finally share Diom, and would love to hear what everyone thinks, and what other components you would like us to build! Would also love help figuring out what to call this. We currently say "component platform," but I'm not a fan of the name.

Bashiir

https://blog.cloudflare.com/post-quantum-warp/
1•bashiir•42s ago•0 comments

Entropy, relayed from real RTL-SDR hardware

https://sdrrand.nuts.services/
1•kordlessagain•50s ago•0 comments

I Don't Vibe Code

https://jacobharr.is/personal/i-dont-vibe-code
1•birdculture•1m ago•0 comments

Disney Faces $5M Lawsuit over Disneyland Facial Recognition

https://reclaimthenet.org/disney-faces-5m-lawsuit-over-disneyland-facial-recognition
1•Cider9986•2m ago•0 comments

Big Tech Backs Colorado OS-Level Age Data Bill

https://reclaimthenet.org/big-tech-backs-colorado-os-level-age-data-bill
1•Cider9986•2m ago•0 comments

Township Leader Resigns in Tears over OpenAI Data Center Death Threats

https://www.404media.co/township-leader-resigns-in-tears-over-openai-data-center-death-threats/
2•cdrnsf•3m ago•0 comments

After Town Bans Flock, Councilmember Crashes Out, Proposes Internet, Phone Ban

https://www.404media.co/after-town-bans-flock-councilmember-crashes-out-proposes-internet-and-pho...
1•cdrnsf•3m ago•0 comments

James Murdoch to Buy New York Magazine, Other Vox Assets for Around $300M

https://www.wsj.com/business/media/vox-media-selling-new-york-magazine-podcast-network-to-james-m...
2•Cider9986•4m ago•0 comments

Scaling Real-Time Traffic Forecasting with a Graph-Aware Transformer

https://www.uber.com/us/en/blog/scaling-real-time-traffic/
1•olcaycirit•4m ago•0 comments

Show HN: Dari-docs – Optimize your docs using parallel coding agents

https://github.com/mupt-ai/dari-docs
2•byhong03•5m ago•0 comments

The Great Token Wager

https://iainschmitt.com/post/tokens-and-taiwan
1•abnercoimbre•5m ago•0 comments

VSM Loop: Viable-System Orchestration for Multi-Agent R&D

https://github.com/7mind/nix-config/blob/main/pkg/llm-prompts/skills/vsm-loop/content.md
1•pshirshov•5m ago•1 comments

Exploit released for new PinTheft Arch Linux root escalation flaw

https://www.bleepingcomputer.com/news/linux/exploit-released-for-new-pintheft-arch-linux-root-esc...
1•Brajeshwar•6m ago•0 comments

Ask HN: Shouldn't Google need to give a public statement about Railway incident?

3•srameshc•7m ago•0 comments

Show HN: Prism Coder – Qwen3.5-14B fine-tuned for MCP tool-routing decisions

https://github.com/dcostenco/prism-coder
2•dcostenco4•8m ago•0 comments

Nobody Cares, Write Anyway

https://blog.absurdpirate.com/nobody-cares-write-anyway/
2•cyanbane•9m ago•0 comments

Brazil's instant payment system faces scrutiny from Trump administration

https://apnews.com/article/brazil-payment-system-pix-investigation-credit-card-fd04428f309a2b3299...
1•lbrito•11m ago•2 comments

Meditations on "Non-Public" AI

https://guille.site/posts/meditations-stories/
1•LolWolf•11m ago•0 comments

Will agents like Git any more than we do?

https://www.amplifypartners.com/blog-posts/will-agents-like-git-any-more-than-we-do
2•thramp•12m ago•1 comments

Microcosm Industries

https://microcosm.industries/
2•arbesman•13m ago•0 comments

The missing men of the American marriage market

https://text.npr.org/g-s1-122695
2•mooreds•14m ago•0 comments

Harvard Caps A's as Selective Colleges Attack Grade Inflation

https://www.nytimes.com/2026/05/20/us/harvard-grade-inflation.html
1•galleywest200•16m ago•0 comments

Show HN: Catio - AWS Diagrams and Architecture Copilot

https://www.catio.tech/
1•sirmilesdu•16m ago•0 comments

A Cattle Ranch Is Doing What the Ivy League Can't

https://www.nytimes.com/2026/05/20/opinion/deep-springs-college-ivy-league-education.html
1•7402•17m ago•1 comments

The Rise of the High-Range, Less Expensive E.V

https://www.nytimes.com/2026/04/27/upshot/cheap-electric-cars-gas-prices.html
1•mooreds•17m ago•0 comments

Transformer vs. Post-Transformer Debate: Kaiser, Kosowski, Jones, Lechner [video]

https://www.youtube.com/watch?v=hCjoMLuCuLQ
2•Cappybara12•17m ago•1 comments

Hormuz closure could trigger 'agrifood shock', price crisis within a year

https://www.reuters.com/world/middle-east/hormuz-closure-could-trigger-agrifood-shock-price-crisi...
2•mooreds•17m ago•0 comments

Show HN: Server-side analytics catches AI crawlers and attackers JS misses

https://radar.syswp.com.br/
1•aporce•18m ago•0 comments

Samsung Overtakes Apple for Top Smartphone Customer Satisfaction

https://www.macrumors.com/2026/05/20/samsung-overtakes-apple-for-customer-satisfaction/
1•ndr42•18m ago•0 comments

CEO Walks Back Comment About Replacing 'Lower-Value Human Capital' with AI

https://www.wsj.com/finance/banking/ceo-walks-back-comment-about-replacing-lower-value-human-capi...
6•Brajeshwar•20m ago•1 comments