frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: QueenMQ – slow LLM calls blocked our Kafka partitions, so we built it

https://github.com/queen-mq/queen
2•aliceviola•10m ago
Hi HN, I'm Alice.

Over the last year, at Smartness, the company where I work, we built a new message broker, open source under Apache 2.0. During this year it has replaced Kafka almost completely for us. I would like to show it to you and try to explain what is different about it.

First, long story short: in 2025 we launched a new product in our suite. Like all the others it used Kafka for messaging, and like many other companies we were using Kafka as a message queue, wrongly and knowingly.

In this product head-of-line blocking hurt a lot: an LLM call takes seconds to minutes, and it blocked every other chat in the same partition. We first built a hack: we saved the Kafka messages in Postgres, ordered by the entity we needed (a chat_id, for example), processed them, and sent them back to Kafka. Then we decided to build a real broker on that idea. It took a year, from C++ plus Postgres to, today, a single Rust binary with data replicated on disk by Raft.

I designed this system, so I am biased. Still, I believe QueenMQ holds a new paradigm that turns a message broker into something more powerful, while staying simple.

What QueenMQ is, compared to what you already know:

Like Kafka, it has partitions, but in QueenMQ they are dynamic (not preallocated) and you can use a lot of them (tested up to 10 million). Like Kafka it is a log, but there is one Raft leader per tenant, so all of a tenant's writes go through one node, which allows transactions without 2PC. Head-of-line blocking can only happen inside one partition, which is one business entity, like a customer or a chat. If you need a plain queue, you can use a different partition for every message.

Like RabbitMQ, it has ACK, NACK, retries and a DLQ: this makes it a message queue. It has no routing on push and no exchanges, though.

Like a database: thanks to its etcd-like design, it runs transactions that include ACKs, pushes to other queues, KV writes and timers, and it has atomic locks. The KV store is replicated by Raft and keeps the application's state. It is linearizable.

It also has strong streaming features: the SDKs can receive one single log with all the messages of all the queues, with one clock and one order. On top of it there are the classic streaming features, like windows, and some less common ones.

Clients talk to it over HTTP (the clients are thin, the intelligence is in the broker), and it is Kafka-compatible (although that way you cannot use all of its strengths).

The idea underneath is the change from seeing a message broker as a pure "handler" of messages to one where you can offload a lot of application logic that you would otherwise write yourself. In our company it let us remove outbox tables, cron jobs and many other things.

On three beefy machines (24 vCPU, NVMe, 88 GB of RAM), QueenMQ sustains 3M msg/s of 256-byte messages, up to 10M partitions, with p99 latency around 20 ms and every write fsynced on two nodes. Of course, with a single leader per tenant, it does not scale by adding more machines.

We tested it hard: 226 tests of our own, written with the Jepsen library, on up to 5 nodes.

It is changing the way we design the systems and products of our company.

I believe in this project and I believe in open source, and I am really glad that Smartness thinks the same way. It is hard to find the time and the money to build something like this without a company behind you.

I would love to get questions, the harsh ones too (like how many times this thing crashed production), and feedback.

  docker run -p 6632:6632 ghcr.io/queen-mq/queen:2.8.0

Tyrannosaurus rex was warm-blooded

https://www.popsci.com/science/tyrannosaurus-rex-warm-blooded/
1•gmays•26s ago•0 comments

Attackers Hijack .gh, .sl, and .as Registries to Obtain Certificates for Domains

https://www.malwarebytes.com/blog/news/2026/10/attackers-hijack-country-code-domains-to-impersona...
1•prmph•31s ago•0 comments

Show HN: A reproducible Typst and Pandoc dev container

https://github.com/1solomonwakhungu/typst-dev-container
1•1solomoniw•1m ago•0 comments

Show HN: Practical Data: a Chrome extension that conditionally shades web tables

https://practicaldata.dev/
1•philrenaud•1m ago•0 comments

Worktrunk – Git worktree management for parallel AI agent workflows

https://worktrunk.dev/
1•rhazn•1m ago•0 comments

Did Life Begin in an RNA World?

https://www.quantamagazine.org/did-life-begin-in-an-rna-world-20261109/
1•pseudolus•2m ago•0 comments

Show HN: Aircad – Professional drafting and 3D modeling in the browser

https://aircad.com
1•peetle•2m ago•0 comments

An introduction for transformers in mobile adtech

https://aiadvances.org/transformers-for-mobile-user-acquisition-f3816d8b0c41
1•bweber•2m ago•0 comments

The Hardest Tarball?

https://stoppels.ch/2026/11/07/the-hardest-tarball.html
2•thatslast•2m ago•0 comments

Don't hate AI 'cause it's bad; hate it 'cause it's good

https://aspiz.uk/essays/dont-hate-ai
2•aspizu•3m ago•0 comments

Anthropic sets IPO price range of $70 to $78, looks to start trading Nov. 19

https://www.cnbc.com/2026/11/10/anthropic-sets-price-range-of-70-to-78-in-upcoming-ipo.html
1•sebastian_z•3m ago•0 comments

TSMC approves investments of up to $500M each in Anthropic and OpenAI

https://pr.tsmc.com/english/news/3352
1•iLuddite•3m ago•0 comments

Show HN: Sugo – Turn PDF's and Screenshots into Compact Markdawn for LLMs

https://github.com/Muralnick/sugo
1•Muralnick•4m ago•0 comments

Show HN: Dev-prune, a disk cleaner that only deletes what it can rebuild

https://github.com/Life-Experimentalist/dev-prune
1•VKrishna04•4m ago•0 comments

Cross-OS compatibility on 9front (Plan 9)

https://github.com/RyzovaTech/Ryzova-Kernel
1•manethsethnal•5m ago•0 comments

Large Language Models Are Terrible at Programming

https://joarvarndt.se/llm-programming.html
1•joarxpablo•5m ago•0 comments

macOS Is Now Running on an iPhone

1•dev_grex•5m ago•0 comments

Show HN: I rebuilt Akira Toriyama's drawing room in 3D

https://bird.jacomakes.com
1•jacomakes•6m ago•0 comments

Show HN: Production-grade developer tools that never leave your machine

https://github.com/sanmak/LocalGearbox
1•sanmak•6m ago•0 comments

Argentine company accuses US of meddling in Huawei project

https://www.ft.com/content/051e6fbf-e796-4b92-9c6e-7b85c74e8edc
2•wslh•6m ago•1 comments

Steve – AI CEO

https://twitter.com/spisallyouneed/status/2119829366758604963
1•lamename•8m ago•0 comments

How often Hacker News Mentions "Pareto Frontier"

https://claude.ai/artifact/BzRhFBvGotcbfcdjujyTQn
3•ford•8m ago•1 comments

Show HN: QueenMQ – slow LLM calls blocked our Kafka partitions, so we built it

https://github.com/queen-mq/queen
2•aliceviola•10m ago•0 comments

Show HN:Auto-CLI – Generate verified CLIs so agents can drive Windows apps

https://github.com/Northernator/Auto-CLI
1•Northernator11•10m ago•0 comments

Terminal-Bench 4.1: 23 of 66 tasks have scoring or data problems

https://vetto.ai/companies/terminal-bench-4-audit/
2•dvaplima•11m ago•0 comments

Anthropic's Initial Public Offering

https://ipo.anthropic.com/us/
2•taytus•12m ago•0 comments

Who loves maps and natural disasters?

https://klaxon.live/en
1•Accher•12m ago•1 comments

A Brain Teaser of an Obituary

https://www.nytimes.com/2026/11/10/obituaries/steve-selvin-dead.html
1•droidjj•13m ago•0 comments

Japan's Rapidus Is Said Likely to Miss Mass Production Deadline

https://d3d5p5hd1jmhff.archive.ph/
1•osnium123•14m ago•1 comments

Show HN: Sales tool in one Chrome extension

https://salesutils.app/
1•devarifhossain•14m ago•0 comments