- Updated: January 18, 2026
- 7 min read
Ayder: High‑Performance HTTP‑Native Durable Event Log Redefines Stream Processing
Ayder: HTTP‑Native Durable Event Log Redefines High‑Throughput Messaging
Ayder is an HTTP‑native durable event log that delivers high‑throughput, Raft‑replicated messaging with built‑in stream processing, making it ideal for modern cloud‑native applications.

Introduction
In the fast‑moving world of event‑driven architectures, developers need a logging solution that is both simple to use and rock‑solid. The Ayder project answers that call by offering an open‑source event bus that speaks plain HTTP, eliminates heavyweight dependencies, and guarantees durability through Raft consensus. Whether you are building a micro‑service mesh, a real‑time analytics pipeline, or a low‑latency IoT ingest layer, Ayder’s design promises Kafka‑grade reliability with the operational elegance of Redis Streams.
Overview of Ayder Features
- HTTP‑native API: Interact with the broker using
curlor any HTTP client—no JVM, no ZooKeeper, no custom SDKs. - Durable messaging: Writes are persisted to sealed append‑only files (AOF) and survive abrupt SIGKILL restarts.
- Raft replication: Configurable 3‑, 5‑, or 7‑node clusters provide synchronous majority (sync‑majority) durability.
- High‑throughput logging: Benchmarks show up to 106 k messages / second on ARM64 hardware.
- Built‑in stream processing: Filter, aggregate, and join events without a separate processing engine.
- Key‑value store: CAS‑enabled KV with TTL for auxiliary metadata.
- Cross‑format joins: Combine Avro and Protobuf streams in a single query.
- Docker‑first deployment: One‑liner Docker Compose brings up the broker, Prometheus, and Grafana.
Technical Architecture & Benefits
Core Components
Broker binary – A single compiled C executable that hosts the HTTP server, Raft state machine, and AOF writer.
Raft module – Handles leader election, log replication, and commit indexing across nodes.
Prometheus exporter – Exposes /metrics and /metrics_ha for real‑time observability.
Grafana dashboards – Pre‑configured panels visualize throughput, latency, and cluster health.
Why Raft Beats Traditional Replication
Unlike Redis Streams, which rely on asynchronous replication, Ayder’s Raft layer guarantees that a majority of nodes have persisted a record before acknowledging the client. This sync‑majority model eliminates the “lost‑message” window that plagues many high‑throughput systems and brings recovery times down to under a minute after an unclean shutdown.
Performance Edge
Ayder’s C‑level implementation, zero‑copy I/O, and optional io_uring integration keep the p99 latency under 4 ms even at 100 k msgs/s. In a real‑world 3‑node DigitalOcean cluster, the broker sustained 49,871 messages per second with a client‑side p99 of 3.46 ms, while the server‑side handler never exceeded 1.22 ms. On a Snapdragon X Elite laptop, the same code achieved 106,645 msgs/s, proving that Ayder is truly ARM‑ready.
Use Cases & Benchmarks
The versatility of an HTTP‑native log opens doors across many domains:
- Real‑time analytics: Stream raw click‑events into Ayder, then use the built‑in query API to compute rolling aggregates.
- IoT telemetry: Devices push binary payloads via
POST /produce; Ayder’s low‑latency path ensures sub‑millisecond ingestion. - Micro‑service coordination: Publish state changes and let downstream services consume them with consumer‑group offsets.
- Event‑sourced architectures: Persist domain events in durable partitions, replay them for debugging or migration.
Benchmark Highlights
| Scenario | Throughput | p99 Latency | Recovery Time |
|---|---|---|---|
| 3‑node Raft (cloud VM) | ≈ 50 k msg/s | 3.46 ms (client) | 40‑50 s after SIGKILL |
| ARM64 (Snapdragon X Elite) | ≈ 106 k msg/s | 7.62 ms (client) | N/A (single binary) |
Compared with Redis Streams (async replication, minutes to recover) and Apache Kafka (complex JVM tuning, hours to recover), Ayder delivers a sweet spot of durability, simplicity, and speed.
Getting Started (Docker & Installation)
The quickest way to explore Ayder is via Docker Compose, which also spins up Prometheus and Grafana for observability.
# Clone the repository
git clone https://github.com/A1darbek/ayder.git
cd ayder
# Launch the stack
docker compose up -d --build
# Verify health
curl http://localhost:1109/health
# → {"ok":true}
For a single‑node test, you can run the binary directly:
# Build the binary
make clean && make
# Start a broker on port 1109
./ayder --port 1109
Once the broker is up, create a topic, produce a message, and consume it—all with curl:
# Create a topic with 4 partitions
curl -X POST http://localhost:1109/broker/topics \\
-H 'Authorization: Bearer dev' \\
-H 'Content-Type: application/json' \\
-d '{"name":"events","partitions":4}'
# Produce a JSON payload
curl -X POST 'http://localhost:1109/broker/topics/events/produce?partition=0' \\
-H 'Authorization: Bearer dev' \\
-d '{"item":"widget"}'
# Consume the message (base64‑encoded for binary safety)
curl 'http://localhost:1109/broker/consume/events/mygroup/0?encoding=b64' \\
-H 'Authorization: Bearer dev'
Configuration Highlights
- Set
RF_HA_ENABLED=1to enable Raft clustering. - Define
RF_HA_NODESwithnode_id:host:raft_port:priorityentries. - Adjust
RF_HA_WRITE_CONCERN(1 = leader only, 2 = majority, N = all). - Enable TLS for Raft traffic via
RF_HA_TLS=1and provide certs.
Integrating Ayder with the UBOS Ecosystem
Ayder’s HTTP API makes it a natural fit for the UBOS platform. You can embed Ayder as a backend for several UBOS services:
- Use the AI marketing agents to ingest campaign events directly into Ayder for real‑time attribution.
- Leverage the Workflow automation studio to trigger downstream actions when specific log patterns appear.
- Combine Ayder with the OpenAI ChatGPT integration to generate contextual alerts from streaming logs.
- Store enriched metadata in the Chroma DB integration for vector‑search powered analytics.
- Expose voice‑driven dashboards via the ElevenLabs AI voice integration, letting operators query log health hands‑free.
For developers building custom UI components, the Web app editor on UBOS can generate a front‑end that talks to Ayder’s REST endpoints without writing any backend code. The UBOS templates for quick start include a ready‑made “Event Stream Dashboard” template that visualizes Ayder metrics out of the box.
Conclusion & Call to Action
Ayder fills a critical gap between heavyweight Kafka clusters and lightweight Redis Streams, delivering Kafka‑grade durability with the operational simplicity of a single HTTP binary. Its Raft‑backed replication, built‑in stream processing, and Docker‑first philosophy make it a compelling choice for developers, DevOps engineers, and system architects who demand both speed and resilience.
Ready to try Ayder in your next project? Grab the Docker image, spin up a three‑node cluster, and start streaming events in minutes. For deeper integration, explore the UBOS ecosystem and leverage ready‑made templates, AI agents, and workflow automations to accelerate time‑to‑value.
Visit the Ayder GitHub repository to read the full documentation, contribute, or report issues.
Explore more UBOS solutions that complement Ayder:
- About UBOS – learn the story behind the platform.
- UBOS platform overview – a holistic view of the AI‑first stack.
- UBOS for startups – fast‑track your MVP with pre‑built AI services.
- UBOS solutions for SMBs – scalable tools for growing businesses.
- Enterprise AI platform by UBOS – enterprise‑grade governance and security.
- UBOS pricing plans – transparent pricing for every team size.
- UBOS portfolio examples – real‑world case studies.
- UBOS partner program – collaborate and co‑sell.
Featured UBOS Templates for Event‑Driven Apps
Jump‑start your Ayder‑backed solution with these ready‑made templates:
- AI SEO Analyzer – ingest crawl logs into Ayder for instant ranking insights.
- AI Article Copywriter – feed content drafts through Ayder for collaborative editing.
- AI Video Generator – stream video generation jobs and track progress via Ayder events.
- AI Chatbot template – connect chat logs to Ayder for real‑time analytics.
- GPT‑Powered Telegram Bot – a practical example of HTTP‑native event ingestion.
© 2026 UBOS Technologies. All rights reserved.
Andrii Bidochko
CTO UBOS
Andrii Bidochko is an AI entrepreneur and researcher focused on AI agents, reinforcement learning, and autonomous systems. He writes about the technologies shaping the future of machine intelligence, from frontier models and agent architectures to real-world AI applications.