firn vs. the field
Written by the project; as objective as we could make it. Treat every "firn wins" row as a claim to verify, not a conclusion. Competitor figures are vendor/community claims; firn's are measured.
Read this first. firn is a young, single-maintainer, zero-external-production-hours broker (~192k durable msg/s default; ~350 msg/s on the
-flush-window=0 fsync-per-append opt-out). Kafka, Redpanda, Pulsar, RabbitMQ, NATS, Kinesis, Pub/Sub and SQS are million-hours-in-production systems. If you need a broker to run the business by, use one of those. firn wins in narrow, real places — see below.
TL;DR verdict
Firn is not superior as a general-purpose production broker. It is meaningfully differentiated in a few places:
- Stream + queue semantics on one append-only log with broker-native DLQ and one replication/audit path — the cleanest "task queue and event log in one system" among OSS brokers.
- Byte-offset-preserving passive federation with a fenced cutover — a DR story no mainstream broker ships out of the box (preview-quality, unproven at scale).
- Secure-by-default in the binary — bootstrap token, hashed keys, roles, per-key + per-IP rate limits, mesh mTLS, append-only audit always on. OSS Kafka/Pulsar/RabbitMQ/NATS make you assemble this (or buy a paid tier).
- MIT, ~12k LOC, single binary — the learning / embedded / teaching / edge niche.
In every boring axis — throughput, exactly-once, ecosystem, maturity, multi-tenancy, geo — firn loses, mostly by a lot.
Feature matrix — self-hosted / open source
✅ full · ◐ partial/scoped · ❌ no · 💰 paid tier only
| Capability | firn | Kafka 4 | Redpanda | Pulsar | RabbitMQ | NATS JS | Redis Streams |
|---|---|---|---|---|---|---|---|
| License | MIT | Apache-2.0 | BSL + paid | Apache-2.0 | MPL | Apache-2.0 | tri (incl. AGPL) |
| Single static binary, no deps | ✅ | ❌ JVM | ✅ | ❌ multi-component | ◐ Erlang VM | ✅ | ❌ needs Redis |
| Streaming (offsets, replay) | ✅ | ✅ | ✅ | ✅ | ◐ | ✅ | ◐ |
| Queue semantics + DLQ | ✅ first-class | ❌ app-level | ❌ app-level | ✅ | ✅ | ◐ | ❌ app-level |
| One log, both semantics | ✅ one engine | ❌ | ❌ | ◐ | ◐ two engines | ◐ | ◐ |
| Consumer groups | ✅ range/roundrobin | ✅ +sticky | ✅ | ✅ | ✅ | ✅ | ✅ |
| Delivery guarantee | at-least-once | exactly-once | exactly-once | effectively-once | at-least-once | at-least-once + dedup | at-least-once |
| Transactions / atomic multi-partition | ❌ | ✅ | ✅ | ◐ | ❌ | ❌ | ◐ MULTI |
| Replication / HA | ◐ 3-node, embedded Raft, GA (envelope) | ✅ ISR/KRaft, mature | ✅ | ✅ BookKeeper | ✅ quorum queues | ✅ | ◐ async replicas |
| Geo-replication / DR | ◐ passive byte-identical + active-active (preview) | ◐ MM2 / Replicator 💰 | ◐ | ✅ native geo-repl | ◐ | ✅ superclusters | ◐ |
| Multi-tenancy | ❌ | ◐ quotas | 💰 | ✅ tenants/namespaces | ◐ vhosts | ✅ accounts | ❌ |
| Tiered storage | ❌ | ✅ KIP-405 | 💰 | ✅ native | ❌ | ◐ | ◐ MAXLEN |
| Ecosystem (Connect/Streams/SR) | ❌ (Go SDK + CLI) | ✅ huge | ✅ Kafka-compat | ◐ | ◐ plugins | ◐ | ◐ (no Kafka interop) |
| Kafka wire compatibility | ❌ | ✅ | ✅ | ❌ | ◐ AMQP | ❌ | ❌ |
| Secure by default | ✅ bootstrap token, roles, mTLS mesh, audit | ❌ configure | ◐ | ❌ configure | ◐ configure | ◐ | ❌ |
| Audit log, built-in | ✅ append-only, every mode | 💰 | 💰 | ❌ contrib | ◐ | ❌ | ❌ |
| Answered ops burden to first broker | low (one binary, go run) | high | low–medium | high | medium | low–medium | low |
| Throughput (claimed, same class HW) | ~10³ msg/s (measured) | ~10⁶ (vendor) | ~10⁶ (vendor) | ~10⁶/cluster | ~10⁵ | ~10⁵–10⁶ | ~10⁵–10⁶ |
| Production maturity | ❌ zero external | ✅ massive | ◐ real users | ✅ Yahoo/etc. | ✅ massive | ✅ wide adoption | ✅ massive |
Cloud-managed
| Axis | AWS Kinesis | Google Pub/Sub | AWS SQS (+SNS) |
|---|---|---|---|
| Model | shard stream, pull | global topics+subs | managed queue |
| Exactly-once | at-least-once | ✅ EOD GA (pull, regional) | FIFO dedup (≤3000/s) |
| DLQ | app-level (+SQS) | ✅ DLT | ✅ native redrive |
| Ops burden | none (shard math) | none | none |
| Fits | AWS-native streaming | GCP global messaging | AWS decoupling |
Category scorecard
| Category | Winner | Why |
|---|---|---|
| Raw throughput at scale | Redpanda, then Kafka | C++/no-JVM; decades of tuning. firn is ~3 orders of magnitude behind — by design (fsync). |
| Zero-ops low-volume messaging | SQS | One API call, SLA'd. Running any broker is ops. |
| Exactly-once / EOS | Kafka | Reference implementation (EOS + transactions). |
| Task-queue work at scale | RabbitMQ | DLX, priorities, plugins, two decades of hardening. |
| Event log as source of truth | Kafka | Retention, Connect, Streams, tooling moat. |
| Geo-replication | Pulsar | Native, topology-aware. |
| Built-in audit + secure by default (OSS) | firn | No OSS alternative ships this without assembly (or paid tier). |
| DR with offset-preserving cutover | firn (preview) | Byte-identical passive + fenced sink + runbook. Unproven at scale — interesting, not bankable. |
| Single log, stream + queue, one binary | firn | Architectural elegance; the cleanest version of the idea. |
| Enterprise source, hackable in a weekend | firn | ~12k LOC; invariants documented; one reader can hold it. |
Where you'd actually pick firn
- Internal control-plane / service-mesh plumbing: a few hundred durable msg/s is plenty; you want it MIT and auditable.
- Internal job dispatch where a DLQ + audit + least-privilege keys beats raw throughput.
- An educational or reference implementation of "how brokers work".
- A DR/standby pilot where byte-identical restore has real value and preview semantics are tolerable.
- Embedded/edge: a ~14 MB static Go binary beats Erlang/JVM toolchains.
When to pick something else
- AWS/GCP-native → SQS/Kinesis/Pub/Sub. Max throughput / Kafka API → Redpanda or Kafka. Multi-tenant platform → Pulsar. Enterprise task queue → RabbitMQ. Lightweight edge → NATS. Exactly-once → Kafka with transactions. Already on Redis → Redis Streams.
What would change this verdict
- Group-commit flush windows at scale (ADR-014 shipped behind a flag; adoption evidence needed) → throughput column re-opens.
- Cluster GA at scale + dynamic membership, rolling upgrades → Kafka-class HA story.
- Kafka wire-protocol shim or first-class Schema Registry → ecosystem addressable.
- One external production deployment with published numbers → maturity column stops reading "zero".
Full, cited version with bench notes and sources: docs/comparison.md in the repository. Self-assessment bias is real — check our homework.