M
MercyNews
Home
Back
Ayder: Registro de Eventos Duradero Nativo de HTTP Desafía a Sistemas Complejos
Tecnologia

Ayder: Registro de Eventos Duradero Nativo de HTTP Desafía a Sistemas Complejos

Hacker News6h ago
3 min de lectura
📋

Hechos Clave

  • Registro de eventos de binario único escrito completamente en C con arquitectura nativa de HTTP
  • Throughput sostenido de ~50,000 mensajes por segundo en clúster Raft de 3 nodos
  • Latencia P99 del cliente medida en 3.46 milisegundos bajo carga
  • Recuperación de fallos maneja ~8 millones de offsets en 40-50 segundos después de SIGKILL
  • Usa comandos estándar de curl como cliente—no requiere JVM, ZooKeeper, ni bibliotecas pesadas
  • Demuestra persistencia de datos mediante video de 2 minutos mostrando recuperación de terminación no limpia

Resumen Rápido

Ha surgido un nuevo sistema de registro de eventos duradero que desafía la complejidad arquitectónica tradicional. Ayder representa un cambio fundamental hacia la simplicidad, ofreciendo persistencia de grado empresarial a través de un único binario escrito en C.

La filosofía central del sistema se centra en el diseño nativo de HTTP, eliminando la necesidad de infraestructura de cliente compleja. En lugar de requerir entornos de ejecución JVM, coordinación ZooKeeper, o bibliotecas de cliente pesadas, Ayder acepta solicitudes HTTP estándar—lo que significa que los desarrolladores pueden interactuar con él usando nada más sofisticado que curl.

Las métricas iniciales de rendimiento revelan capacidades impresionantes: throughput sostenido de 50,000 mensajes por segundo en un clúster Raft de tres nodos, con latencia P99 del cliente midiendo apenas 3.46 milisegundos. Quizás lo más convincente es la demostración de recuperación de fallos—después de una terminación SIGKILL no limpia, el sistema se reinicia y verifica la integridad de datos para aproximadamente 8 millones de offsets en menos de un minuto.

La Arquitectura

La filosofía de diseño de Ayder representa una partida deliberada de los patrones contemporáneos de sistemas distribuidos. Construido completamente en C, el sistema prioriza el minimalismo y la transparencia operativa sobre la amplitud de características.

El modelo de despliegue de binario único significa que los operadores administran un archivo ejecutable en lugar de coordinar múltiples servicios. Este enfoque reduce la complejidad de despliegue, elimina conflictos de dependencias y agiliza los procedimientos de actualización. El binario contiene toda la lógica necesaria para persistencia, consenso y manejo de interfaz HTTP.

La arquitectura nativa de HTTP cambia fundamentalmente cómo las aplicaciones se integran con el registro de eventos. En lugar de importar SDK especializados o gestionar pools de conexión a servicios de coordinación, los desarrolladores emiten solicitudes HTTP estándar. Este enfoque ofrece varias ventajas:

  • Compatibilidad universal de cliente en cualquier lenguaje de programación
  • Superficie de ataque reducida mediante protocolos estandarizados
  • Depuración simplificada usando herramientas HTTP familiares
  • Menor sobrecarga de memoria sin bibliotecas de cliente pesadas

El sistema usa consenso Raft en un clúster de tres nodos para garantizar durabilidad y disponibilidad. Las operaciones de escritura se sincronizan en la mayoría de los nodos antes de confirmar la finalización, proporcionando garantías de consistencia fuerte incluso durante particiones de red o fallos de nodos.

"Números (3 nodos Raft, red real, escrituras de mayoría síncrona, payload 64B): ~50K msg/s sostenido (wrk2 @ 50K req/s), cliente P99 ~3.46ms."

— Benchmarks de Rendimiento

Benchmarks de Rendimiento

La validación de rendimiento ocurrió en un clúster Raft de tres nodos operando en un entorno de red real—no simulado o en condiciones de prueba aisladas. El escenario de benchmark usó escrituras de mayoría síncrona con payloads de 64 bytes, representando tamaños de mensaje de evento típicos en arquitecturas de streaming.

Los resultados demuestran un throughput sostenido de aproximadamente 50,000 mensajes por segundo bajo carga continua a 50,000 solicitudes por segundo usando la herramienta de benchmarking wrk2. Este nivel de throughput indica que el sistema puede manejar ingestión de eventos a escala de producción sin convertirse en un cuello de botella.

Las mediciones de latencia muestran latencia P99 del cliente de 3.46 milisegundos, lo que significa que el 99% de las solicitudes completan dentro de este período de tiempo. Este perfil de rendimiento sugiere que Ayder puede soportar aplicaciones sensibles a la latencia donde los tiempos de respuesta consistentes son críticos.

Números (3 nodos Raft, red real, escrituras de mayoría síncrona, payload 64B): ~50K msg/s sostenido (wrk2 @ 50K req/s), cliente P99 ~3.46ms.

La metodología de benchmark enfatiza condiciones del mundo real, proporcionando confianza de que estas métricas se traducen a escenarios de despliegue reales en lugar de mediciones de laboratorio idealizadas.

Recuperación de Fallos

Quizás la demostración más convincente de la durabilidad de Ayder es su capacidad de recuperación de fallos. El sistema fue sometido a una terminación SIGKILL no limpia—simulando una falla repentina del servidor o pérdida de energía sin procedimientos de apagado graceful.

Después de la terminación forzada, Ayder se reinició y verificó con éxito que todos los offsets y datos permanecieron intactos. El proceso de recuperación manejó aproximadamente 8 millones de offsets en un período de tiempo que osciló entre 40 y 50 segundos. Esta velocidad de recuperación demuestra mecanismos eficientes de checkpointing y replay de logs.

El video de demostración, que dura aproximadamente dos minutos desde el crash inicial hasta la validación completa de recuperación, proporciona prueba visual de la resiliencia del sistema. Esta capacidad aborda un requisito crítico para sistemas de producción: mantener la integridad de datos a través de interrupciones no planificadas.

Las características clave de recuperación incluyen:

  • Verificación automática de offset después del reinicio
  • Pérdida de datos cero a pesar de terminación no limpia
  • Replay rápido de millones de eventos registrados
  • Proceso de recuperación transparente que no requiere intervención manual

Estas métricas de recuperación indican que Ayder implementa estrategias robustas de logging de write-ahead y snapshotting, asegurando que incluso fallas catastróficas no comprometan la consistencia del registro de eventos.

Oportunidad de Socio de Diseño

El desarrollador está buscando activamente socios de diseño tempranos para validar Ayder en diversos escenarios de producción. Esta invitación se extiende a organizaciones que ejecutan cualquier tipo de carga de trabajo de ingestión de eventos o streaming.

Los socios de diseño obtendrían acceso temprano a la tecnología mientras proporcionan retroalimentación que moldea la hoja de ruta. El sistema parece estar listo para pruebas del mundo real, con documentación completa que incluye benchmarks, videos de demostración y guías de inicio rápido disponibles en el repositorio.

Las organizaciones que podrían beneficiarse de la evaluación incluyen aquellas que actualmente usan:

  • Colas de mensajes tradicionales buscando simplicidad HTTP
  • Arquitecturas de sourcing de eventos que requieren durabilidad
  • Microservicios que necesitan coordinación ligera
  • Plataformas de streaming que priorizan la recuperación de fallos

La convocatoria de socios sugiere que el proyecto ha madurado más allá de la etapa de prueba de concepto y está listo para una validación más amplia. Los adoptantes tempranos ayudarían a identificar casos extremos, límites de rendimiento y patrones de integración en diferentes entornos de despliegue.

Mirando Hacia Adelante

Ayder representa un regreso a la simplicidad en el diseño de sistemas distribuidos. Al despojar capas de abstracción y aprovechar protocolos HTTP omnipresentes, ofrece una alternativa convincente a las arquitecturas complejas de registro de eventos.

La combinación de alto rendimiento (50K msg/s), baja latencia

Continue scrolling for more

La IA transforma la investigación y las demostraciones matemáticas
Technology

La IA transforma la investigación y las demostraciones matemáticas

La inteligencia artificial está pasando de ser una promesa a una realidad en las matemáticas. Los modelos de aprendizaje automático generan teoremas originales, forzando una reevaluación de la investigación y la enseñanza.

Just now
4 min
165
Read Article
La Prueba de Contratación de Steven Bartlett: Por Qué Solo el 7% la Pasa
Lifestyle

La Prueba de Contratación de Steven Bartlett: Por Qué Solo el 7% la Pasa

El empresario Steven Bartlett revela que solo el 7% de candidatos aprueba su 'Prueba de Cultura' de 35 preguntas, diseñada para identificar pensamiento innovador.

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
Taiwán emite orden de arresto contra el CEO de OnePlus, Pete Lau
Crime

Taiwán emite orden de arresto contra el CEO de OnePlus, Pete Lau

Las autoridades taiwanesas emitieron una orden de arresto contra Pete Lau, CEO de OnePlus, por presuntamente emplear trabajadores ilegalmente en Taiwán y violar la Ley de Relaciones del Estrecho.

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
Las Predicciones de Polymarket se Vuelven Mainstream en los Globos de Oro
Entertainment

Las Predicciones de Polymarket se Vuelven Mainstream en los Globos de Oro

Los Globos de Oro 2026 emitidos por CBS presentaron varias predicciones de Polymarket, marcando una integración significativa para la plataforma en el entretenimiento masivo.

5h
5 min
0
Read Article
🎉

You're all caught up!

Check back later for more stories

Volver al inicio