Kafka-compatible streaming with single-digit millisecond latency. No JVM. No ZooKeeper. No 3AM pages. Just the fastest event backbone your agents and services have ever used.
Same test, same hardware, same topic configuration. 3-node cluster, 12 partitions, 1KB messages, acks=all. Independently reproducible.
| Metric | Torrent | Apache Kafka 3.7 | Delta |
|---|---|---|---|
| Throughput (msg/s/core) | 2,147,483 | 205,312 | 10.5x faster |
| p99 latency (acks=all) | 3.2 ms | 14.8 ms | 4.6x lower |
| p999 latency | 4.1 ms | 87.2 ms | 21x lower |
| Memory / broker (idle) | 48 MB | 512 MB | 10.7x less |
| Cold start | 1.2s | 38s | 31x faster |
| Exactly-once overhead | +2% | +18% | 9x less |
| Kafka API compatibility | 100% | 100% | parity |
Full Kafka API compatibility. Switch your bootstrap servers, keep everything else. Native SDKs for Go and Rust when you want zero-copy performance.
package main import ( "github.com/torrent-dev/torrent-go" ) func main() { p, _ := torrent.NewProducer(&torrent.Config{ Brokers: []string{"torrent://10.0.1.5:9092"}, Acks: torrent.AcksAll, Linger: 5 * time.Millisecond, }) defer p.Close() p.Send("events.user.click", "user-42", payload) // p99 delivery: 3.2ms }
use torrent::{Consumer, Config, Offset}; fn main() -> Result<()> { let consumer = Consumer::new(Config { brokers: vec!["torrent://10.0.1.5:9092"], group: "analytics-pipeline", offset: Offset::Latest, })?; consumer.subscribe("events.user.*")?; for msg in consumer.stream() { process(msg.value()); msg.commit()?; // exactly-once } }
Built from scratch in Rust. One binary, no external dependencies. Automatic partition balancing, built-in schema registry, tiered storage to object stores.
Your ops dashboard should be boring. Flat throughput, low latency, green partitions. That's what infrastructure that works looks like.
Kafka has 197 broker configs. Torrent has 12 that matter. Sane defaults, override only what you need.
cluster: name: prod-us-east node_id: 1 storage: data_dir: /var/torrent/data tiered: backend: s3 bucket: torrent-cold-prod after: 7d network: port: 9092 tls: auto # ACME cert provisioning
One binary. One command. Full Kafka compatibility.