M
MercyNews
Home
Back
Ayder : Un journal d'événements durable HTTP-natif remet en cause les systèmes complexes
Technologie

Ayder : Un journal d'événements durable HTTP-natif remet en cause les systèmes complexes

Hacker News6h ago
3 min de lecture
📋

Points Clés

  • Journal d'événements monobinaire entièrement écrit en C avec architecture HTTP-native
  • Débit soutenu d'environ 50 000 messages par seconde sur un cluster Raft à 3 nœuds
  • Latence P99 client mesurée à 3,46 millisecondes sous charge
  • Récupération après crash gère environ 8 millions d'offsets en 40-50 secondes après SIGKILL
  • Utilise des commandes curl standard comme client — pas de JVM, ZooKeeper ou bibliothèques lourdes requises
  • Persistance des données démontrée via une vidéo de 2 minutes montrant la récupération après une terminaison non propre

Résumé Rapide

Un nouveau système de journal d'événements durable est apparu, remettant en cause la complexité architecturale traditionnelle. Ayder représente un changement fondamental vers la simplicité, offrant une persistance de niveau entreprise via un seul binaire écrit en C.

La philosophie centrale du système repose sur une conception HTTP-native, éliminant le besoin d'une infrastructure client complexe. Au lieu d'exiger des environnements d'exécution JVM, une coordination ZooKeeper ou des bibliothèques client lourdes, Ayder accepte les requêtes HTTP standard — ce qui signifie que les développeurs peuvent interagir avec lui en utilisant rien de plus sophistiqué que curl.

Les métriques de performance initiales révèlent des capacités impressionnantes : un débit soutenu de 50 000 messages par seconde sur un cluster Raft à trois nœuds, avec une latence P99 client mesurée à seulement 3,46 millisecondes. Ce qui est peut-être le plus convaincant, c'est la démonstration de récupération après crash — après une terminaison SIGKILL non propre, le système redémarre et vérifie l'intégrité des données pour environ 8 millions d'offsets en moins d'une minute.

L'Architecture

La philosophie de conception d'Ayder représente un départ délibéré des modèles de systèmes distribués contemporains. Construit entièrement en C, le système privilégie le minimalisme et la transparence opérationnelle plutôt que l'étendue des fonctionnalités.

Le modèle de déploiement monobinaire signifie que les opérateurs gèrent un seul fichier exécutable plutôt que de coordonner plusieurs services. Cette approche réduit la complexité de déploiement, élimine les conflits de dépendances et simplifie les procédures de mise à jour. Le binaire contient toute la logique nécessaire pour la persistance, le consensus et la gestion de l'interface HTTP.

L'architecture HTTP-native change fondamentalement la façon dont les applications s'intègrent avec le journal d'événements. Plutôt que d'importer des SDK spécialisés ou de gérer des pools de connexion vers des services de coordination, les développeurs émettent des requêtes HTTP standard. Cette approche offre plusieurs avantages :

  • Compatibilité client universelle à travers n'importe quel langage de programmation
  • Surface d'attaque réduite grâce à des protocoles standardisés
  • Débogage simplifié en utilisant des outils HTTP familiers
  • Surcharge mémoire inférieure sans bibliothèques client lourdes

Le système utilise le consensus Raft à travers un cluster à trois nœuds pour assurer la durabilité et la disponibilité. Les opérations d'écriture sont synchronisées sur une majorité de nœuds avant de confirmer la complétion, fournissant des garanties de cohérence forte même pendant les partitions réseau ou les défaillances de nœuds.

"Chiffres (Raft à 3 nœuds, réseau réel, écritures de majorité synchrone, payload 64B) : ~50K msg/s soutenu (wrk2 @ 50K req/s), P99 client ~3,46ms."

— Benchmarks de Performance

Benchmarks de Performance

La validation de performance s'est produite sur un cluster Raft à trois nœuds fonctionnant à travers un environnement réseau réel — pas en conditions de test simulées ou isolées. Le scénario de benchmark utilisait des écritures de majorité synchrone avec des payloads de 64 octets, représentant des tailles de messages d'événement typiques dans les architectures de streaming.

Les résultats démontrent un débit soutenu d'environ 50 000 messages par seconde sous charge continue à 50 000 requêtes par seconde en utilisant l'outil de benchmark wrk2. Ce niveau de débit indique que le système peut gérer l'ingestion d'événements à l'échelle de production sans devenir un goulot d'étranglement.

Les mesures de latence montrent une latence P99 client de 3,46 millisecondes, ce qui signifie que 99 % des requêtes se complètent dans ce délai. Ce profil de performance suggère qu'Ayder peut supporter des applications sensibles à la latence où les temps de réponse cohérents sont critiques.

Chiffres (Raft à 3 nœuds, réseau réel, écritures de majorité synchrone, payload 64B) : ~50K msg/s soutenu (wrk2 @ 50K req/s), P99 client ~3,46ms.

La méthodologie de benchmark met l'accent sur des conditions réelles, fournissant la confiance que ces métriques se traduisent en scénarios de déploiement réels plutôt qu'en mesures de laboratoire idéalisées.

Récupération après Crash

Peut-être la démonstration la plus convaincante de la durabilité d'Ayder est sa capacité de récupération après crash. Le système a été soumis à une terminaison SIGKILL non propre — simulant une défaillance soudaine du serveur ou une perte de puissance sans procédures d'arrêt gracieux.

Après la terminaison forcée, Ayder a redémarré et a vérifié avec succès que tous les offsets et données restaient intacts. Le processus de récupération a géré environ 8 millions d'offsets dans un délai allant de 40 à 50 secondes. Cette vitesse de récupération démontre des mécanismes efficaces de checkpointing et de replay de journal.

La vidéo de démonstration, qui dure environ deux minutes du crash initial jusqu'à la validation complète de la récupération, fournit une preuve visuelle de la résilience du système. Cette capacité répond à une exigence critique pour les systèmes de production : maintenir l'intégrité des données à travers des pannes non planifiées.

Les caractéristiques clés de récupération incluent :

  • Vérification automatique des offsets après redémarrage
  • Zéro perte de données malgré une terminaison non propre
  • Replay rapide de millions d'événements journalisés
  • Processus de récupération transparent nécessitant aucune intervention manuelle

Ces métriques de récupération indiquent qu'Ayder implémente des stratégies robustes de logging en écriture avant (write-ahead logging) et de snapshotting, assurant que même les échecs catastrophiques ne compromettent pas la cohérence du journal d'événements.

Opportunité de Partenariat de Conception

Le développeur recherche activement des partenaires de conception précoces pour valider Ayder à travers divers scénarios de production. Cette invitation s'étend aux organisations gérant tout type de workload d'ingestion d'événements ou de streaming.

Les partenaires de conception bénéficieraient d'un accès anticipé à la technologie tout en fournissant des retours qui façonnent la feuille de route. Le système semble prêt pour des tests en conditions réelles, avec une documentation complète incluant des benchmarks, des vidéos de démonstration et des guides de démarrage rapide disponibles dans le dépôt.

Les organisations qui pourraient bénéficier de l'évaluation incluent celles utilisant actuellement :

  • Des files d'attente de messages traditionnelles recherchant la simplicité HTTP
  • Des architectures d'approvisionnement d'événements (event sourcing) nécessitant de la durabilité
  • Des microservices nécessitant une coordination légère
  • Des plateformes de streaming privilégiant la récupération après crash

L'appel à partenaires suggère que le projet a maturé au-delà du stade de preuve de concept et est prêt pour une validation plus large. Les adopteurs précoces aideraient à identifier les cas limites, les limites de performance et les modèles d'intégration à travers différents environnements de déploiement.

Perspectives

Ayder représente un retour à la simplicité dans la conception des systèmes distribués. En dépouillant les couches d'abstraction et en exploitant les protocoles HTTP omniprésents, il offre une alternative convaincante aux architectures complexes de journaux d'événements.

La combinaison de haute performance (50K msg/s), de basse latence

Continue scrolling for more

L'IA transforme la recherche et les preuves mathématiques
Technology

L'IA transforme la recherche et les preuves mathématiques

L'intelligence artificielle passe d'une promesse à une réalité en mathématiques. Les modèles d'apprentissage génèrent désormais des théorèmes originaux, forçant une réévaluation de la recherche et de l'enseignement.

Just now
4 min
165
Read Article
Le test de recrutement de Steven Bartlett : pourquoi seuls 7 % réussissent
Lifestyle

Le test de recrutement de Steven Bartlett : pourquoi seuls 7 % réussissent

L'entrepreneur Steven Bartlett utilise un 'Culture Test' de 35 questions pour trouver des talents d'élite. Seuls 7 % des candidats réussissent sa question cruciale, révélant une clé pour la résolution de problèmes innovante.

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
Taïwan émet un mandat d'arrêt contre le PDG de OnePlus, Pete Lau
Crime

Taïwan émet un mandat d'arrêt contre le PDG de OnePlus, Pete Lau

Les autorités taïwanaises ont émis un mandat d'arrêt contre le PDG de OnePlus, Pete Lau, pour emploi illégal de travailleurs à Taïwan. L'entreprise est accusée de violer la loi sur les relations entre les deux rives.

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
Les prédictions Polymarket entrent dans le grand public aux Golden Globes
Entertainment

Les prédictions Polymarket entrent dans le grand public aux Golden Globes

La diffusion des Golden Globes 2026 sur CBS a intégré les marchés de prédiction de Polymarket, marquant une étape majeure pour la plateforme vers le grand public.

5h
5 min
0
Read Article
🎉

You're all caught up!

Check back later for more stories

Retour a l'accueil