Streams for the services judged by their slowest response
Risk scoring, alerting and notifications are judged by their slowest response. LaserData runs them on Apache Iggy, a Rust engine with no garbage collector. In a public benchmark by VeloDB its p99 was 2.5 ms, against about 40 ms for Kafka on the same machine and workload.
Sources
- Web and mobile apps
- Backend services
- Devices and sensors
- Partner APIs
Publish
- Apache Iggy SDKs in six languages
- TCP, QUIC, WebSocket and HTTP
- Batching and partitioning
Transport support varies by SDK.
Durable streams on LaserData
- Ordered partitions
- Server-side consumer offsets
- Consumer group per service
- Replay by offset or timestamp
Services that react
- Risk scoring
- Alerting and paging
- Notifications and fan-out
- Real-time analytics
Why latency-sensitive services get expensive
For user-facing and decision paths, the slowest responses decide whether a request succeeds. Most streaming estates pay for that with spare capacity.
- P99 is the target, not the average
- A fast average with occasional multi-second spikes still fails the risk check, the alert or the page load.
- Pauses arrive at peak
- A broker on a garbage-collected runtime can pause when heap pressure is highest, which tends to be when traffic is highest.
- Headroom is the hidden bill
- Clusters are sized for peak, then padded again to keep tail latency in check, and that capacity runs all day.
- New consumers need coordination
- Adding a service often means new topics and changes across teams before a single event flows.
What changes with a Rust engine
Each design choice in Apache Iggy targets a common source of tail latency or wasted capacity. How much it helps depends on the workload, so measure it on yours.
No garbage collector
Rust with a custom memory pool. There are no garbage-collection pauses to tune around.
Thread-per-core, shared-nothing
Each shard has its own thread and its own single-threaded runtime. Requests cross shards by message passing.
io_uring and zero-copy (de)serialization
Completion-based I/O on Linux, and messages read as views over raw bytes instead of being deserialized first.
Replay on demand
Rebuild a service's state or backfill a new one by reading from an offset or a timestamp.
Independent consumers
Every service reads at its own pace through consumer groups with server-side offsets.
Replicated and encrypted
Paid deployments run as three-node clusters with replication. TLS in transit, disk encryption at rest and optional custom key encryption per deployment.
What it means for each team
Tail latency and throughput per node show up in product experience, cost and on-call load.
| Team | What they get |
|---|---|
| Product owners | A lower tail, measured in public In a public benchmark by VeloDB, Apache Iggy held a p99 of 2.5 ms against about 40 ms for Kafka, 16× lower. Results apply to that workload. |
| Platform engineering | More throughput per node In the same benchmark Apache Iggy moved 1,232 MB/s against 371 MB/s for Kafka on the same machine, 3.3× the broker throughput. |
| SRE | Less to tune and watch No garbage collector to tune. LaserData Cloud collects metrics, heartbeats and logs from every node and alerts on CPU, memory, disk and unreachable nodes. |
| Application teams | New services without producer changes Publish once. New services subscribe to existing streams and replay what they need. |
Where it fits
Risk scoring
Decisions with a tight latency budget, with a durable history for audit.
Alerting
Signals from services and devices fanned out to every system that acts on them.
Notifications
Fan-out to email, push and in-app channels, ordered per partition.
Real-time communications
Call, chat and presence events at sustained volume.
Event-driven services
Microservices that react to each other's events independently.
Moving from Kafka?
See a capability-by-capability comparison, including where Kafka still leads, and the analysis of the VeloDB benchmark.
Common questions
What keeps tail latency low on Apache Iggy?
Apache Iggy is written in Rust with no garbage collector, uses a thread-per-core, shared-nothing design, and does I/O through io_uring on Linux with zero-copy (de)serialization. There are no garbage-collection pauses in the data path. Throughput and latency still depend on hardware, configuration and workload.
How does it compare with Kafka?
In a public benchmark by VeloDB, Apache Iggy reached 1,232 MB/s with a p99 of 2.5 ms, and Kafka reached 371 MB/s with a p99 of about 40 ms. That is 3.3× the throughput and a 16× lower p99. It was a broker-only run on AWS us-east-1, on one c6id.4xlarge instance, with 256-byte messages, batches of 1,000 and 8 producers. Results apply to this workload.
Can existing Kafka clients connect?
On managed and Free deployments, yes, through the optional Kafka gateway. It is off by default and turned on per deployment. It speaks the Kafka wire protocol on TCP port 9092 with SASL_SSL and SASL PLAIN, so the application keeps its Kafka client and changes only its connection settings. It covers a defined subset of the protocol. Transactions, log compaction, SCRAM and OAuth sign-in, and ACL changes are not supported. It is not available yet on BYOC or On-Premise.
Which protocols and languages are supported?
TCP, QUIC, WebSocket and HTTP. Apache Iggy SDKs are supported for Rust, C#, Java, Python, Node.js and Go. C++, PHP and Swift are work in progress.
How is data kept durable?
Messages are written to a segmented append-only log. Each topic uses one of two durability policies, replicated (the default) or persisted. Paid LaserData Cloud deployments run as three-node clusters with Viewstamped Replication and keep serving after one node fails.
Benchmark figures on this page come from a public benchmark by VeloDB. Broker-only run on AWS us-east-1, one c6id.4xlarge instance (16 vCPU, 32 GB, local NVMe), 256-byte messages, batches of 1,000, 8 producers. Apache Iggy: 1,232 MB/s, p99 2.5 ms, p99.9 2.8 ms. Kafka: 371 MB/s, p99 about 40 ms, p99.9 about 80 ms. Results apply to this workload. Read the analysis or inspect the methodology.
Send us your latency budget and peak traffic. We'll benchmark it.
Message sizes, peak rate and the p99 you need are enough to start. We'll run iggy-bench on representative payloads and share the results and configuration.