M
MercyNews
Home
Back
Ayder: Sistema de Log de Eventos HTTP-Nativo Desafia Sistemas Complexos
Tecnologia

Ayder: Sistema de Log de Eventos HTTP-Nativo Desafia Sistemas Complexos

Hacker News6h ago
3 min de leitura
📋

Fatos Principais

  • Log de eventos de binário único escrito inteiramente em C com arquitetura HTTP-nativa
  • Throughput sustentado de ~50.000 mensagens por segundo em cluster Raft de 3 nós
  • Latência P99 do cliente medida em 3,46 milissegundos sob carga
  • Recuperação de falha trata ~8 milhões de offsets em 40-50 segundos após SIGKILL
  • Usa comandos curl padrão como cliente — sem necessidade de JVM, ZooKeeper ou bibliotecas pesadas
  • Demonstrou persistência de dados através de vídeo de 2 minutos mostrando recuperação de término não limpo

Resumo Rápido

Um novo sistema de log de eventos durável surgiu, desafiando a complexidade arquitetônica tradicional. Ayder representa uma mudança fundamental rumo à simplicidade, entregando persistência de nível empresarial através de um único binário escrito em C.

A filosofia central do sistema se baseia em design HTTP-nativo, eliminando a necessidade de infraestrutura de cliente complexa. Em vez de exigir ambientes de execução JVM, coordenação ZooKeeper ou bibliotecas de cliente pesadas, Ayder aceita requisições HTTP padrão — o que significa que desenvolvedores podem interagir com ele usando nada mais sofisticado que curl.

Métricas iniciais de performance revelam capacidades impressionantes: throughput sustentado de 50.000 mensagens por segundo em um cluster Raft de três nós, com latência P99 do cliente medindo apenas 3,46 milissegundos. Talvez o mais convincente seja a demonstração de recuperação de falha — após um término SIGKILL não limpo, o sistema reinicia e verifica a integridade de dados para aproximadamente 8 milhões de offsets em menos de um minuto.

A Arquitetura

A filosofia de design do Ayder representa uma partida deliberada dos padrões contemporâneos de sistemas distribuídos. Construído inteiramente em C, o sistema prioriza minimalismo e transparência operacional sobre amplitude de recursos.

O modelo de implantação de binário único

Arquitetura HTTP-nativa muda fundamentalmente como aplicativos se integram ao log de eventos. Em vez de importar SDKs especializados ou gerenciar pools de conexão para serviços de coordenação, desenvolvedores emitem requisições HTTP padrão. Essa abordagem oferece várias vantagens:

  • Compatibilidade universal de cliente em qualquer linguagem de programação
  • Superfície de ataque reduzida através de protocolos padronizados
  • Depuração simplificada usando ferramentas HTTP familiares
  • Menor overhead de memória sem bibliotecas de cliente pesadas

O sistema usa consenso Raft em um cluster de três nós para garantir durabilidade e disponibilidade. Operações de escrita sincronizam através da maioria dos nós antes de reconhecer conclusão, fornecendo garantias de consistência forte mesmo durante partições de rede ou falhas de nó.

"Números (3 nós Raft, rede real, escrituras de maioria síncrona, payload 64B): ~50K msg/s sustentado (wrk2 @ 50K req/s), P99 do cliente ~3,46ms."

— Benchmarks de Performance

Benchmarks de Performance

Validação de performance ocorreu em um cluster Raft de três nós operando em um ambiente de rede real — não simulado ou em condições de teste isoladas. O cenário de benchmark usou escrituras de maioria síncrona com payloads de 64 bytes, representando tamanhos típicos de mensagens de evento em arquiteturas de streaming.

Resultados demonstram throughput sustentado de aproximadamente 50.000 mensagens por segundo sob carga contínua de 50.000 requisições por segundo usando a ferramenta de benchmark wrk2. Esse nível de throughput indica que o sistema pode lidar com ingestão de eventos em escala de produção sem se tornar um gargalo.

Métricas de latência mostram latência P99 do cliente de 3,46 milissegundos, significando que 99% das requisições completam dentro desse período. Esse perfil de performance sugere que Ayder pode suportar aplicações sensíveis a latência onde tempos de resposta consistentes são críticos.

Números (3 nós Raft, rede real, escrituras de maioria síncrona, payload 64B): ~50K msg/s sustentado (wrk2 @ 50K req/s), P99 do cliente ~3,46ms.

A metodologia de benchmark enfatiza condições reais, fornecendo confiança de que essas métricas se traduzem em cenários de implantação reais em vez de medições de laboratório idealizadas.

Recuperação de Falha

Talvez a demonstração mais convincente da durabilidade do Ayder seja sua capacidade de recuperação de falha. O sistema foi submetido a um término SIGKILL não limpo — simulando uma falha súbita de servidor ou perda de energia sem procedimentos de desligamento graceful.

Após o término forçado, Ayder reiniciou e verificou com sucesso que todos os offsets e dados permaneceram intactos. O processo de recuperação tratou aproximadamente 8 milhões de offsets em um período variando de 40 a 50 segundos. Essa velocidade de recuperação demonstra mecanismos eficientes de checkpointing e replay de log.

O vídeo de demonstração, que tem aproximadamente dois minutos desde o crash inicial até a validação completa da recuperação, fornece prova visual da resiliência do sistema. Essa capacidade aborda um requisito crítico para sistemas de produção: manter a integridade de dados através de falhas não planejadas.

Características chave de recuperação incluem:

  • Verificação automática de offset após reinício
  • Zero perda de dados apesar de término não limpo
  • Replay rápido de milhões de eventos registrados
  • Processo de recuperação transparente sem necessidade de intervenção manual

Essas métricas de recuperação indicam que Ayder implementa estratégias robustas de logging ahead e snapshotting, garantindo que até falhas catastróficas não comprometam a consistência do log de eventos.

Oportunidade de Parceiro de Design

O desenvolvedor está ativamente buscando parceiros de design iniciais para validar Ayder em diversos cenários de produção. Este convite se estende a organizações que executam qualquer tipo de workload de ingestão ou streaming de eventos.

Parceiros de design ganhariam acesso antecipado à tecnologia enquanto fornecem feedback que molda o roadmap. O sistema parece pronto para testes reais, com documentação abrangente incluindo benchmarks, vídeos de demonstração e guias de início rápido disponíveis no repositório.

Organizações que podem se beneficiar da avaliação incluem aquelas atualmente usando:

  • Filas de mensagens tradicionais buscando simplicidade HTTP
  • Arquiteturas de sourcing de eventos que exigem durabilidade
  • Microserviços necessitando coordenação leve
  • Plataformas de streaming priorizando recuperação de falhas

A chamada para parceiros sugere que o projeto amadureceu além do estágio de prova de conceito e está pronto para validação mais ampla. Adotantes iniciais ajudariam a identificar casos extremos, limites de performance e padrões de integração em diferentes ambientes de implantação.

Olhando para o Futuro

Ayder representa um retorno à simplicidade no design de sistemas distribuídos. Ao remover camadas de abstração e aproveitar protocolos HTTP ubíquos, oferece uma alternativa convincente para arquiteturas complexas de log de eventos.

A combinação de alta performance (50K msg/s), baixa latência

Continue scrolling for more

IA transforma a pesquisa e as provas matemáticas
Technology

IA transforma a pesquisa e as provas matemáticas

A inteligência artificial está se tornando uma realidade na matemática. Modelos de aprendizado de máquina agora geram teoremas originais, forçando uma reavaliação da pesquisa e do ensino.

Just now
4 min
165
Read Article
Teste de Contratação de Steven Bartlett: Por Que Apenas 7% Passam
Lifestyle

Teste de Contratação de Steven Bartlett: Por Que Apenas 7% Passam

Empreendedor Steven Bartlett usa um 'Culture Test' de 35 perguntas para encontrar altos performers. Apenas 7% respondem corretamente a um cenário crucial, revelando insights sobre resolução de problemas.

5h
5 min
6
Read Article
Only 48 songs have stayed at No. 1 on the chart for 10 weeks or more — here they all are
Entertainment

Only 48 songs have stayed at No. 1 on the chart for 10 weeks or more — here they all are

Lil Nas X, Olivia Newton-John, Mariah Carey, and Shaboozey. Emma McIntyre/Getty Images for The Recording Academy; Erik Hein/American Broadcasting Companies via Getty Images; Kevin Winter/Getty Images; Axelle Bauer Griffin/FilmMagic; Rebecca Zisser/BI A small fraction of all No. 1 hits have ruled the Billboard Hot 100 for 10 weeks or more. Taylor Swift's "The Fate of Ophelia" is the latest song to reach the milestone. Mariah Carey's "All I Want for Christmas Is You" holds the record for most weeks atop the chart. The Billboard Hot 100 is widely regarded as the definitive all-genre singles chart in the US. Since the chart launched in 1958, over 1,000 songs have reached the coveted No. 1 spot. However, far fewer have remained there for double-digit weeks. Mariah Carey's 1994 smash "All I Want for Christmas Is You," which has cyclically returned to No. 1 each holiday season since 2019, recently notched its 22nd week atop the chart. It has surpassed Lil Nas X's "Old Town Road" and Shaboozey's "A Bar Song (Tipsy)" for the longest domination in history. Keep reading for a roundup of all 48 songs that have ruled the chart for at least 10 weeks, listed in the order they reached that milestone. Listen to the complete playlist on Business Insider's Spotify. 1. "You Light Up My Life" by Debby Boone Michael Ochs Archives/Getty Images "You Light Up My Life" was the first song in history to chart at No. 1 for 10 weeks. 2. "Physical" by Olivia Newton-John Olivia Newton-John/YouTube "Physical" charted at No. 1 for 10 weeks. 3. "End of the Road" by Boyz II Men Boyz II Men/YouTube "End of the Road" charted at No. 1 for 13 weeks. 4. "I Will Always Love You" by Whitney Houston Whitney Houston/YouTube "I Will Always Love You" charted at No. 1 for 14 weeks. 5. "I Swear" by All-4-One All-4-One/YouTube "I Swear" charted at No. 1 for 11 weeks. 5. "I'll Make Love to You" by Boyz II Men Boyz II Men/YouTube "I'll Make Love to You" charted at No. 1 for 14 weeks. 7. "One Sweet Day" by Mariah Carey and Boyz II Men "One Sweet Day" was released on November 14, 1995. Mariah Carey/YouTube "One Sweet Day" charted at No. 1 for 16 weeks, making Boyz II Men the first artist in history to earn double-digit weeks atop the chart with three different songs. 8. "Macarena (Bayside Boys Mix)" by Los Del Rio Los Del Rio/YouTube "Macarena (Bayside Boys Mix)" charted at No. 1 for 14 weeks. 9. "Un-Break My Heart" by Toni Braxton Toni Braxton/YouTube "Un-Break My Heart" charted at No. 1 for 11 weeks. 10. "I'll Be Missing You" by Puff Daddy and Faith Evans featuring 112 "I'll Be Missing You" was released on May 23, 1997. Bad Boy Entertainment/YouTube "I'll Be Missing You" charted at No. 1 for 11 weeks. 11. "Candle in the Wind 1997/Something About the Way You Look Tonight" by Elton John Elton John/YouTube "Candle in the Wind 1997/Something About the Way You Look Tonight" charted at No. 1 for 14 weeks. 12. "The Boy Is Mine" by Brandy and Monica Brandy & Monica/YouTube "The Boy Is Mine" charted at No. 1 for 13 weeks. 13. "Smooth" by Santana featuring Rob Thomas Santana/YouTube "Smooth" charted at No. 1 for 12 weeks. 14. "Maria Maria" by Santana featuring The Product G&B Santana/YouTube "Maria Maria" charted at No. 1 for 10 weeks. 15. "Independent Women, Pt. 1" by Destiny's Child Destiny's Child/YouTube "Independent Women, Pt. 1" charted at No. 1 for 11 weeks. 16. "Foolish" by Ashanti Ashanti/YouTube "Foolish" charted at No. 1 for 10 weeks. 17. "Dilemma" by Nelly featuring Kelly Rowland Nelly/YouTube "Dilemma" charted at No. 1 for 10 weeks. 18. "Lose Yourself" by Eminem Eminem/YouTube "Lose Yourself" charted at No. 1 for 12 weeks. 19. "Yeah!" by Usher featuring Lil Jon and Ludacris Usher/YouTube "Yeah!" charted at No. 1 for 12 weeks. 20. "We Belong Together" by Mariah Carey Mariah Carey/YouTube "We Belong Together" charted at No. 1 for 14 weeks. 21. "Gold Digger" by Kanye West featuring Jamie Foxx Kanye West/YouTube "Gold Digger" charted at No. 1 for 10 weeks. 22. "Irreplaceable" by Beyonce Beyoncé/YouTube "Irreplaceable" charted at No. 1 for 10 weeks. 23. "Low" by Flo Rida featuring T-Pain Flo Rida/YouTube "Low" charted at No. 1 for 10 weeks. 24. "Boom Boom Pow" by The Black Eyed Peas The Black Eyed Peas/YouTube "Boom Boom Pow" charted at No. 1 for 12 weeks. 25. "I Gotta Feeling" by The Black Eyed Peas The Black Eyed Peas/YouTube "I Gotta Feeling" charted at No. 1 for 14 weeks. 26. "We Found Love" by Rihanna featuring Calvin Harris Rihanna/YouTube "We Found Love" charted at No. 1 for 10 weeks. 27. "Blurred Lines" by Robin Thicke featuring T.I. and Pharrell Robin Thicke/YouTube "Blurred Lines" charted at No. 1 for 12 weeks. 28. "Happy" by Pharrell Williams Pharrell/YouTube "Happy" charted at No. 1 for 10 weeks. 29. "Uptown Funk!" by Mark Ronson featuring Bruno Mars Mark Ronson/YouTube "Uptown Funk!" charted at No. 1 for 14 weeks. 30. "See You Again" by Wiz Khalifa featuring Charlie Puth Wiz Khalifa/YouTube "See You Again" charted at No. 1 for 12 weeks. 31. "Hello" by Adele "Hello" was released in 2015. Adele/YouTube "Hello" charted at No. 1 for 10 weeks. 32. "One Dance" by Drake featuring WizKid and Kyla Drake/YouTube "One Dance" charted at No. 1 for 10 weeks. 33. "Closer" by The Chainsmokers featuring Halsey The Chainsmokers/YouTube "Closer" charted at No. 1 for 12 weeks. 34. "Shape of You" by Ed Sheeran Ed Sheeran/YouTube "Shape of You" charted at No. 1 for 12 weeks. 35. "Despacito" by Luis Fonsi and Daddy Yankee featuring Justin Bieber Luis Fonsi/YouTube "Despacito" charted at No. 1 for 16 weeks. 36. "God's Plan" by Drake Drake/YouTube "God's Plan" charted at No. 1 for 11 weeks. 37. "In My Feelings" by Drake Drake/YouTube "In My Feelings" charted at No. 1 for 10 weeks, becoming Drake's third entry on this list. He holds the record for the most solo songs with double-digit weeks atop the Hot 100. Drake also holds the record for the most No. 1 song debuts in history. 38. "Old Town Road" by Lil Nas X featuring Billy Ray Cyrus Lil Nas X/YouTube After Lil Nas X recruited Billy Ray Cyrus for a remix, "Old Town Road" dominated the Hot 100 for 19 weeks in 2019, the most ever for a collaboration. It also became the fastest song in history to be certified diamond and won two Grammy Awards. 39. "The Box" by Roddy Ricch "The Box" was released in 2019 and re-released as a single in 2020. Roddy Ricch/YouTube "The Box" charted at No. 1 for 11 weeks. 40. "Butter" by BTS HYBE LABELS/YouTube "Butter" charted at No. 1 for 10 nonconsecutive weeks. 41. "Easy On Me" by Adele Adele/YouTube "Easy On Me" charted at No. 1 for 10 nonconsecutive weeks, becoming Adele's second song to reach the milestone. 42. "As It Was" by Harry Styles "As It Was" was released on March 31, 2022. Harry Styles/YouTube "As It Was" charted at No. 1 for 15 nonconsecutive weeks in 2022, the longest reign ever for a British artist. 43. "All I Want for Christmas Is You" Mariah Carey/YouTube More than three decades after its release, "All I Want for Christmas Is You" returned to No. 1 in December 2022 for its milestone 10th week on top of the chart. The holiday hit became Carey's third song to earn double-digit weeks atop the Hot 100, making her the third artist and first woman ever to achieve the feat thrice. In 2025, the song experienced another holiday-season surge, earning its 22nd total week at No. 1 and setting a record for the longest reign in history. 44. "Last Night" by Morgan Wallen Morgan Wallen/YouTube "Last Night" charted at No. 1 for 16 nonconsecutive weeks in 2023, despite Morgan Wallen's many controversies. 45. "A Bar Song (Tipsy)" by Shaboozey Shaboozey/YouTube "A Bar Song (Tipsy)," Shaboozey's breakout hit, charted at No. 1 for 19 nonconsecutive weeks in 2024, tying "Old Town Road" for the second-longest reign in history. 46. "Luther" by Kendrick Lamar with SZA "Luther" reached No. 1 on the chart dated March 1, 2025. Kendrick Lamar/YouTube "Luther" was released as track three on Kendrick Lamar's album, "GNX," and originally debuted at No. 3 on the Hot 100. Shortly after Lamar's Super Bowl halftime show (which SZA joined to perform both "Luther" and their 2018 hit "All the Stars"), "Luther" rose to the top spot, where it remained for 13 consecutive weeks. 47. "Ordinary" by Alex Warren "Ordinary" reached No. 1 on the chart dated June 7, 2025. Alex Warren/YouTube "Ordinary" was released as the lead single from Alex Warren's debut studio album, "You'll Be Alright, Kid." Warren performed the song on the "Love Is Blind" season eight reunion special, which boosted its streaming numbers. It later became a summertime radio hit, reaching No. 1 on the Hot 100 in June 2025, nearly four months after its release. "Ordinary" spent nine consecutive weeks atop the chart before rebounding for its milestone 10th in late August. 48. "The Fate of Ophelia" by Taylor Swift "The Fate of Ophelia" reached No. 1 on the chart dated October 18, 2025. Taylor Swift/YouTube "The Fate of Ophelia" was released alongside Taylor Swift's 12th studio album, "The Life of a Showgirl," and promoted as the lead single. The Shakespeare-inspired pop song debuted at No. 1 on the Hot 100 and remained atop the chart for eight consecutive weeks. After falling to lower positions during the 2025 holiday season, it returned to the summit for its ninth and 10th weeks in January 2026, surpassing "Anti-Hero" as Swift's longest-leading hit to date. Read the original article on Business Insider

5h
3 min
0
Read Article
Ford F150 Lightning outsold Tesla Cybertruck and was then canceled for not selling enough
Automotive

Ford F150 Lightning outsold Tesla Cybertruck and was then canceled for not selling enough

The Tesla Cybertruck program is in shambles. The latest data indicate production is running at roughly 10% of its planned capacity. Meanwhile, the Ford F150 Lightning outsold the Tesla Cybertruck in 2025 and was then canceled for not selling enough. Is this what is coming for the Cybertruck? more…

5h
3 min
0
Read Article
The White House just said your life is worth nothing. Yes, literally.
Politics

The White House just said your life is worth nothing. Yes, literally.

The Environmental Protection Agency will no longer consider how much pollution costs to human health or the amount of lives saved when setting air pollution rules, according to a report by the New York Times. Instead, it will ignore benefits and only consider costs in its cost-benefit analyses. more…

5h
3 min
0
Read Article
Roblox’s AI-Powered Age Verification Is a Complete Mess
Technology

Roblox’s AI-Powered Age Verification Is a Complete Mess

Kids are being identified as adults—and vice versa—on Roblox, while age-verified accounts are already being sold online.

5h
3 min
0
Read Article
Taiwan emite mandado de prisão para CEO da OnePlus, Pete Lau
Crime

Taiwan emite mandado de prisão para CEO da OnePlus, Pete Lau

Taiwan emite mandado de prisão para CEO da OnePlus, Pete Lau, por acusações de emprego ilegal de trabalhadores no país. A empresa é investigada por violar a Lei do Estreito.

5h
5 min
6
Read Article
Meta’s metaverse layoffs apparently include some of its VR studios
Technology

Meta’s metaverse layoffs apparently include some of its VR studios

Marvel’s Deadpool VR. Meta is laying off about 10 percent of its Reality Labs metaverse division, and the cuts apparently include closing down some of its VR gaming studios. It "appears" Twisted Pixel Games, the developer of Marvel's Deadpool VR, Sanzaru Games, the developer of the Asgard's Wrath franchise, and Armature Studio, who worked on the Resident Evil 4 VR port, are all being shut down, according to former Twisted Pixel level designer Andy Gentile, who posted about being laid off. Other laid off staffers have posted about the closures, too. "Unfortunately, Twisted Pixel Games has been closed as a result of strategy changes at Meta," former Twisted Pixe … Read the full story at The Verge.

5h
3 min
0
Read Article
Technology

Doctors think AI has a place in healthcare – but maybe not as a chatbot

OpenAI and Anthropic have each launched healthcare-focused products over the last week.

5h
3 min
0
Read Article
Previsões da Polymarket se tornam mainstream no Golden Globes
Entertainment

Previsões da Polymarket se tornam mainstream no Golden Globes

A transmissão do Golden Globes 2026 integrou mercados de previsão da Polymarket, marcando um momento decisivo para a plataforma no entretenimento mainstream.

5h
5 min
0
Read Article
🎉

You're all caught up!

Check back later for more stories

Voltar ao inicio