M
MercyNews
Home
Back
Ayder: HTTP-Native Durable Event Log Challenges Complex Systems
Technology

Ayder: HTTP-Native Durable Event Log Challenges Complex Systems

Hacker News6h ago
3 min read
📋

Key Facts

  • ✓ Single-binary event log written entirely in C with HTTP-native architecture
  • ✓ Sustained throughput of ~50,000 messages per second on 3-node Raft cluster
  • ✓ Client P99 latency measured at 3.46 milliseconds under load
  • ✓ Crash recovery handles ~8 million offsets in 40-50 seconds after SIGKILL
  • ✓ Uses standard curl commands as client—no JVM, ZooKeeper, or thick libraries required
  • ✓ Demonstrated data persistence through 2-minute video showing recovery from unclean termination

In This Article

  1. Quick Summary
  2. The Architecture
  3. Performance Benchmarks
  4. Crash Recovery
  5. Design Partner Opportunity
  6. Looking Ahead

Quick Summary#

A new durable event log system has emerged that challenges traditional architectural complexity. Ayder represents a fundamental shift toward simplicity, delivering enterprise-grade persistence through a single binary written in C.

The system's core philosophy centers on HTTP-native design, eliminating the need for complex client infrastructure. Instead of requiring JVM runtime environments, ZooKeeper coordination, or heavy client libraries, Ayder accepts standard HTTP requests—meaning developers can interact with it using nothing more sophisticated than curl.

Initial performance metrics reveal impressive capabilities: sustained throughput of 50,000 messages per second on a three-node Raft cluster, with client P99 latency measuring just 3.46 milliseconds. Perhaps most compelling is the crash recovery demonstration—after an unclean SIGKILL termination, the system restarts and verifies data integrity for approximately 8 million offsets in under a minute.

The Architecture#

Ayder's design philosophy represents a deliberate departure from contemporary distributed system patterns. Built entirely in C, the system prioritizes minimalism and operational transparency over feature breadth.

The single-binary deployment model means operators manage one executable file rather than coordinating multiple services. This approach reduces deployment complexity, eliminates dependency conflicts, and streamlines upgrade procedures. The binary contains all necessary logic for persistence, consensus, and HTTP interface handling.

HTTP-native architecture fundamentally changes how applications integrate with the event log. Rather than importing specialized SDKs or managing connection pools to coordination services, developers issue standard HTTP requests. This approach offers several advantages:

  • Universal client compatibility across any programming language
  • Reduced attack surface through standardized protocols
  • Simplified debugging using familiar HTTP tooling
  • Lower memory overhead without thick client libraries

The system uses Raft consensus across a three-node cluster to ensure durability and availability. Write operations synchronize across a majority of nodes before acknowledging completion, providing strong consistency guarantees even during network partitions or node failures.

"Numbers (3-node Raft, real network, sync-majority writes, 64B payload): ~50K msg/s sustained (wrk2 @ 50K req/s), client P99 ~3.46ms."

— Performance Benchmarks

Performance Benchmarks#

Performance validation occurred on a three-node Raft cluster operating across a real network environment—not simulated or isolated test conditions. The benchmark scenario used sync-majority writes with 64-byte payloads, representing typical event message sizes in streaming architectures.

Results demonstrate sustained throughput of approximately 50,000 messages per second under continuous load at 50,000 requests per second using the wrk2 benchmarking tool. This throughput level indicates the system can handle production-scale event ingestion without becoming a bottleneck.

Latency measurements show client P99 latency of 3.46 milliseconds, meaning 99% of requests complete within this timeframe. This performance profile suggests Ayder can support latency-sensitive applications where consistent response times are critical.

Numbers (3-node Raft, real network, sync-majority writes, 64B payload): ~50K msg/s sustained (wrk2 @ 50K req/s), client P99 ~3.46ms.

The benchmark methodology emphasizes real-world conditions, providing confidence that these metrics translate to actual deployment scenarios rather than idealized laboratory measurements.

Crash Recovery#

Perhaps the most compelling demonstration of Ayder's durability is its crash recovery capability. The system was subjected to an unclean SIGKILL termination—simulating a sudden server failure or power loss without graceful shutdown procedures.

Following the forced termination, Ayder restarted and successfully verified that all offsets and data remained intact. The recovery process handled approximately 8 million offsets in a timeframe ranging from 40 to 50 seconds. This recovery speed demonstrates efficient checkpointing and log replay mechanisms.

The demonstration video, which runs approximately two minutes from initial crash through complete recovery validation, provides visual proof of the system's resilience. This capability addresses a critical requirement for production systems: maintaining data integrity through unplanned outages.

Key recovery characteristics include:

  • Automatic offset verification after restart
  • Zero data loss despite unclean termination
  • Fast replay of millions of logged events
  • Transparent recovery process requiring no manual intervention

These recovery metrics indicate that Ayder implements robust write-ahead logging and snapshotting strategies, ensuring that even catastrophic failures don't compromise the event log's consistency.

Design Partner Opportunity#

The developer is actively seeking early design partners to validate Ayder across diverse production scenarios. This invitation extends to organizations running any type of event ingestion or streaming workload.

Design partners would gain early access to the technology while providing feedback that shapes the roadmap. The system appears ready for real-world testing, with comprehensive documentation including benchmarks, demonstration videos, and quick-start guides available in the repository.

Organizations that might benefit from evaluation include those currently using:

  • Traditional message queues seeking HTTP simplicity
  • Event sourcing architectures requiring durability
  • Microservices needing lightweight coordination
  • Streaming platforms prioritizing crash recovery

The call for partners suggests the project has matured beyond proof-of-concept stage and is ready for broader validation. Early adopters would help identify edge cases, performance boundaries, and integration patterns across different deployment environments.

Looking Ahead#

Ayder represents a return to simplicity in distributed systems design. By stripping away layers of abstraction and leveraging ubiquitous HTTP protocols, it offers a compelling alternative to complex event log architectures.

The combination of high performance (50K msg/s), low latency (3.46ms P99), and robust durability (8M offset recovery in 40-50s) addresses the core requirements of modern event-driven applications. The single-binary C implementation promises operational simplicity without sacrificing capabilities.

As the project seeks design partners, the next phase will reveal how Ayder performs across the varied demands of production workloads. For teams evaluating event log solutions, this technology warrants attention—not just for its technical merits, but for its philosophy of making durable event streaming accessible through simple, standard tools.

Continue scrolling for more

AI Transforms Mathematical Research and Proofs
Technology

AI Transforms Mathematical Research and Proofs

Artificial intelligence is shifting from a promise to a reality in mathematics. Machine learning models are now generating original theorems, forcing a reevaluation of research and teaching methods.

Just now
4 min
167
Read Article
Technology

Как создать домашний сервер: Полное руководство

От хранения данных до запуска собственных сервисов: полное руководство по созданию мощного домашнего сервера. Разбираем выбор оборудования, настройку ОС и популярные сценарии использования.

28m
7 min
2
Read Article
Technology

How to Build Your Own Home Lab Server

Tired of monthly subscription fees and cloud privacy concerns? Discover how to build your own powerful home lab server. This guide covers hardware selection, OS installation, Docker setup, and essential self-hosting projects.

29m
12 min
2
Read Article
Is India fuelling an arms race in Asia or closing a deterrence gap?
Politics

Is India fuelling an arms race in Asia or closing a deterrence gap?

In 2025, India approved a number of major defence packages, together worth US$30 billion. Such rapid procurement approvals are relatively rare by Indian standards. However, what they signal to the region will depend less on such announcements and more on actual outcomes. To some observers, especially after India’s four-day clash with Pakistan during what the former called “Operation Sindoor” last May, the surge appears to mark the start of a regional arms race. That interpretation is...

3h
3 min
0
Read Article
ETH’s back at $3.2K: Will traders flip the level from resistance to support?
Cryptocurrency

ETH’s back at $3.2K: Will traders flip the level from resistance to support?

Ethereum remains the leader in total value locked, but declining usage and economic uncertainty in the United States may hinder a rally to $4,000.

3h
3 min
0
Read Article
Banco Master: relator da inspeção do TCU no Banco Central afirma que 'não há conclusão formada'
Economics

Banco Master: relator da inspeção do TCU no Banco Central afirma que 'não há conclusão formada'

TCU anuncia que o Banco Central concordou com uma inspeção sobre Banco Master O ministro Jhonatan de Jesus, do Tribunal de Contas da União (TCU), afirmou nesta terça-feira e conversa com o blog que a inspeção a ser conduzida pela área técnica do TCU no Banco Central do Brasil (BC), a respeito da liquidação do Banco Master, será avaliada pelo seu gabinete, como relator do caso, e votada pelo plenário do tribunal. “Não há conclusão formada antes da verificação técnica dos fatos”, disse o ministro. O ministro afirmou que foi sorteado para ser relator depois de o Ministério Público de Contas enviar, em dezembro de 2025, dois pedidos de diligências sobre o negócio entre o BRB com o Master e sobre as tratativas finais de liquidação. Técnicos do TCU devem iniciar nesta semana a inspeção no BC. O guia das averiguações será a resposta do Banco Central ao Tribunal de Contas da União, em que explicou o histórico do processo que terminou com a liquidação do banco. Há, entretanto, dois focos centrais: os indícios já em 2024 de que o Banco Master estava com problemas de liquidez; e como se deu a decisão de liquidação, mesmo com uma proposta de aquisição pela Fictor, com ajuda de um fundo áreabe. A inspeção ficará a cargo da área do TCU que responde pela fiscalização de bancos, a AudBancos. Exdeputado federal, Jhonatan de Jesus, atual ministro do Tribunal de Contas da União Reprodução/Instagram/jhonatandejesus Reunião com BC O presidente do Tribunal de Contas da União (TCU), ministro do Vital do Rêgo Filho, além de Jhonatan de Jesus e outros integrantes de TCU se reuniram na segunda-feira (12) com o presidente do Banco Central, Gabriel Galípolo, na sede do BC. O BC, no entanto, ainda não se manifestou sobre as declarações do presidente do TCU. Após o encontro, Vital afirmou que a inspeção no processo de liquidação do banco Master traz "segurança jurídica" para o processo. Segundo o ministro, o processo todo deve durar menos de um mês. O objetivo, segundo Vital do Rêgo, era encontrar uma forma de conciliar o poder de fiscalização do TCU com a autonomia do BC, que questionava a possibilidade de inspeção técnica em suas dependências. O pano de fundo do encontro é a liquidação do Banco Master, do banqueiro Daniel Vorcaro, determinada pelo Banco Central e analisada pelo TCU. Entenda o caso Na última semana, a relação entre as duas instituições degringolou após Jhonatan de Jesus determinar uma inspeção nos documentos do BC. No entendimento do ministro, faltavam informações para embasar as explicações dadas pela autoridade monetária sobre a liquidação, decretada em novembro. O BC reagiu à decisão e recorreu, argumentando que o procedimento não poderia ser determinado por um único ministro, mas deveria ser submetido à deliberação do colegiado do TCU. Jesus acolheu o pedido, ou seja, decidiu levar a discussão sobre a inspeção ao plenário, mas deixou clara a sua insatisfação com o questionamento do BC. O BC desisitiu do pedido após a reunião da segunda. Em um dos trechos do despacho, o ministro disse que "sob o ângulo regimental, não procede à premissa de que a inspeção dependeria, necessariamente, de autorização exclusiva de órgão colegiado". Além disso, Jhonatan de Jesus afirmou que o recuo se deu diante da "dimensão pública" que o caso ganhou. "Ocorre que a dimensão pública assumida pelo caso, com contornos desproporcionais para providência instrutória corriqueira nesta Corte, recomenda que a controvérsia seja submetida ao crivo do Plenário, instância natural para estabilizar institucionalmente a matéria", afirmou o relator. Antes mesmo da determinação da inspeção, as explicações solicitadas por Jhonatan de Jesus já haviam sido alvo de críticas. No mesmo dia em que mandou o BC responder, em até 72 horas, sobre o que fundamentou a liquidação do banco de Vorcaro, instituições do setor bancário reagiram. Em nota, a Federação Brasileira de Bancos manifestou plena confiança na decisão do BC. Afirmou que "a solidez e a resiliência do setor bancário e a independência do regulador do sistema financeiro são um ativo e um patrimônio nacional". "A força do setor bancário se alicerça na força do regulador, que somente se sustenta com respeito, credibilidade e dignidade institucional, pilares que sempre forjaram a atuação do Banco Central brasileiro", disse a entidade.

3h
3 min
0
Read Article
Nintendo Switch 2: The Best Protective Cases Reviewed
Technology

Nintendo Switch 2: The Best Protective Cases Reviewed

A comprehensive guide to the best protective cases for the Nintendo Switch 2, featuring top picks for durability, style, and functionality for every budget.

3h
5 min
2
Read Article
Why the massive Iran protests haven’t toppled its clerical establishment
Politics

Why the massive Iran protests haven’t toppled its clerical establishment

Protests have gone on for weeks, but unless street unrest and foreign pressure can prompt defections at the top, the regime, though weakened, will likely hold, analysts say The post Why the massive Iran protests haven’t toppled its clerical establishment appeared first on The Times of Israel.

3h
3 min
0
Read Article
Stellar Blade Dev on AI: One Person, 100 People
Technology

Stellar Blade Dev on AI: One Person, 100 People

Shift Up's CEO believes AI is the key to competing with massive Chinese studios, suggesting one person could do the work of 100. This is the only way to compete.

3h
5 min
6
Read Article
Senate passes Defiance Act for a second time to address Grok deepfakes
Politics

Senate passes Defiance Act for a second time to address Grok deepfakes

The Senate has passed the Disrupt Explicit Forged Images and Non-Consensual Edits (DEFIANCE ) Act with unanimous consent, according to the bill’s co-sponsor Senator Dick Durbin (D-IL). The bill lets the subjects of nonconsensual, sexually explicit deepfakes take civil action against the people who create and host them. Deepfakes are a known issue online, but without the proper protections, easy access to AI-powered image and video generation tools has made it possible for anyone to create compromising content using another person's likeness. This has become a particular problem on X, where the integration of Grok, the AI assistant created by X's parent company xAI, makes it possible for anyone to turn the content of another person's post into an image-generating prompt. Over the last month, that's allowed users to create sexually explicit images of children, just by replying to a post with @grok and a request. In response, Ofcom, the UK's media regulator, has already opened an investigation into X for potentially violating the Online Safety Act. The chatbot has also been outright blocked in Malaysia and Indonesia. The DEFIANCE Act won't prevent Grok or other AI tools from generating nonconsensual deepfakes, but it would make creating or hosting that content potentially very expensive for anyone on the receiving end of a lawsuit. The Senate passed an earlier version of the DEFIANCE Act in 2024, but it stalled in the House. Given the urgency of Grok's deepfake problem, the hope is this new version of the bill won't see the same resistance. Congress passed an earlier piece of deepfake regulation last year, the Take It Down Act, with bipartisan support. That bill was focused on the companies who host nonconsensual, sexually explicit content, rather than the people exploited by it. This article originally appeared on Engadget at https://www.engadget.com/ai/senate-passes-defiance-act-for-a-second-time-to-address-grok-deepfakes-212151712.html?src=rss

3h
3 min
0
Read Article
🎉

You're all caught up!

Check back later for more stories

Back to Home