frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

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

https://github.com/svix/diom
1•tasn•1h ago
Hey HN, my name is Tom and I'm the founder of Svix. We've been working on Diom (https://diom.com) for the last 6 months, and I'm excited to finally share it on HN!

Diom is a single Rust binary that replaces Redis, RabbitMQ, Kafka, and a lot of custom code for many common use-cases. It's open-source, self-contained, and has no external runtime dependencies.

While building Svix, we had to reimplement the same backend primitives that everyone reimplements when building a service: robust caching, rate-limiting, idempotency, and more. 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. It's a self-contained open-source service that people can run in their infrastructure with a focus on developer experience and ease of operation. It manages its own storage using fjall (a fast LSM-tree-based storage similar to RocksDB) and therefore 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 is for Diom to replace Redis, RabbitMQ, Kafka, and a lot of custom code for most use-cases, by offering pre-built implementations for common backend primitives. 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.

The closest existing project is probably NATS with JetStream, which is also a single self-contained binary with KV, streams, and queues. One of the main differences is that Diom ships higher-level primitives like idempotency, rate limiting, and cache as first-class APIs, rather than something you build on top of KV and streams.

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, if you find it useful, and what other components we should 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.

Ask HN: Tips for Longevity, as a Software Engineer

1•2bird3•3m ago•0 comments

Modern jet engine turbines: each blade a single crystal (2015)

https://www.americanscientist.org/article/each-blade-a-single-crystal
1•whycome•3m ago•0 comments

Ask HN: Please, I need your help to try out an iOS app I work on

1•erosa01•3m ago•1 comments

Alert-Driven Monitoring

https://simpleobservability.com/docs/alert-driven-monitoring
1•khazit•3m ago•0 comments

ImagePrint 1.52 Released

https://www.imageprint.io/blog/whats-new-in-imageprint-1-52/
1•coragi•5m ago•0 comments

CPU Work and GPU Work

https://www.talhoffman.com/2026/05/03/cpu-work-and-gpu-work/
2•talhof8•8m ago•0 comments

Fisheries and Aquaculture

https://www.oecd.org/en/topics/fisheries-and-aquaculture.html
1•mooreds•9m ago•0 comments

Show HN: Hello, World in many different languages

https://languages.jdunn.dev/
2•jdironman•11m ago•1 comments

NOAA forecaster on how this year's El Niño could shatter records

https://www.livescience.com/planet-earth/weather/one-of-the-most-rapid-transitions-that-ive-seen-...
2•ukz•12m ago•0 comments

I Have Lived in Your Camp

https://green.spacedino.net/i-have-lived-in-your-camp/
1•mooreds•14m ago•0 comments

The Petroleum System Is Entering Its Volatile Decline Phase

https://cleantechnica.com/2026/04/29/the-petroleum-system-is-entering-its-volatile-decline-phase/
1•xbmcuser•15m ago•0 comments

Company said I could move and then changed their mind

https://www.askamanager.org/2026/04/company-said-i-could-move-and-then-changed-their-mind-how-do-...
2•mooreds•18m ago•0 comments

Show HN: I made a simulator for personal finance (5 year update)

https://projectionlab.com/
1•scubakid•20m ago•0 comments

Custom Voices and Voice Library

https://x.ai/news/grok-custom-voices
1•tjek•22m ago•0 comments

I'm a late arrival to short-form video – its effect on my life has shocked me

https://www.theguardian.com/commentisfree/2026/may/03/algorithm-short-form-video-overload
2•andsoitis•23m ago•0 comments

Sandwich Theorem

https://en.wikipedia.org/wiki/Squeeze_theorem
1•_Microft•26m ago•0 comments

Pipelight

https://pipelight.dev/
1•fulafel•27m ago•0 comments

After giving away $26B MacKenzie Scott's wealth remains largely unchanged

https://timesofindia.indiatimes.com/world/us/after-giving-away-26-billion-in-philanthropy-mackenz...
1•gscott•27m ago•0 comments

The Lobster in the Hot Pot – OpenTentacle

https://opententacle.com/article/2026-04-05/
1•birdculture•28m ago•0 comments

Dogs' brains began to shrink at least 5k years ago

https://www.theguardian.com/science/2026/apr/29/dogs-brains-shrink-5000-years-ago
1•gmays•29m ago•0 comments

What are the chances a hurricane will hit my home?

https://www.noaa.gov/stories/what-are-chances-hurricane-will-hit-my-home
1•bilsbie•30m ago•0 comments

How the JVM Optimizes Generic Code – A Deep Dive [pdf]

https://cr.openjdk.org/~jrose/pres/202603-SpecializedGeneric.pdf
2•Tomte•32m ago•0 comments

I rebuilt my blog's cache. Bots are the audience now

https://hoeijmakers.net/thirty-years-of-caching-sorted-in-an-afternoon/
3•robhoeijmakers•32m ago•1 comments

Robotics startups are losing to slow feedback loops

https://www.simbiotic.dev/blog/robotics-startup-development-speed
1•nikhilol•33m ago•0 comments

I completed 100 Days of Java over 5 years and mapped the journey as a graph

https://mohibulsblog.netlify.app/java/100daysofjava/graph/
1•celurian92•39m ago•1 comments

Learn concurrency – a deep dive into multithreading with Python

https://blog.geekuni.com/2026/04/python-concurrency.html
2•aquastorm•41m ago•0 comments

StackGraveyard.dev – Live mortality scores for NPM packages

https://www.stackgraveyard.dev/
1•tlseternal•41m ago•0 comments

What If Your Boss Monitored Your Emotions?

https://www.theatlantic.com/culture/2026/05/worker-surveillance-emotion-ai/687029/
2•Brajeshwar•42m ago•1 comments

1984 Called: It predicted our AI-obsessed reality

https://medium.com/@tk512/the-ai-predictions-in-the-movie-electric-dreams-1984-0c6a47a6326e
1•sgt•43m ago•0 comments

What Makes Art Great

https://nabeelqu.substack.com/p/what-makes-art-great
1•jger15•45m ago•0 comments