M
MercyNews
Home
Back
Ayder: سجل الأحداث المقاوم للفشل المبني على HTTP يتحدى الأنظمة المعقدة
تكنولوجيا

Ayder: سجل الأحداث المقاوم للفشل المبني على HTTP يتحدى الأنظمة المعقدة

Hacker News6h ago
3 دقيقة قراءة
📋

حقائق رئيسية

  • سجل أحداث أحادي الملفف مكتوب بالكامل بلغة C مع هندسة معمارية متوافقة مع HTTP
  • Throughput مستمر يبلغ حوالي 50,000 رسالة في الثانية على عنقود Raft ثلاثي العقد
  • تأخير P99 للعميل قُدر بـ 3.46 ميلي ثانية تحت العبء
  • استعادة التعامل مع حوالي 8 ملايين من الإزاحات في 40-50 ثانية بعد SIGKILL
  • يستخدم أوامر curl القياسية كعميل - لا حاجة لـ JVM أو ZooKeeper أو مكتبات ثقيلة
  • أظهر استمرارية البيانات من خلال فيديو دقيقتين يظهر التعافي من إنهاء غير نظيف

ملخص سريع

ظهر نظام جديد لسجل الأحداث المقاوم للفشل يتحدى التعقيد المعماري التقليدي. Ayder يمثل تحولاً جوهرياً نحو البساطة، مقدماً استمرارية بمستوى المؤسسات من خلال ملفف واحد مكتوب بلغة C.

يعتمد فلسفة النظام الأساسية على التصميم المتوافق مع HTTP، مما يلغي الحاجة إلى البنية التحتية للعميل المعقدة. بدلاً من تطلب بيئة تشغيل JVM، أو تنسيق ZooKeeper، أو مكتبات عميل ثقيلة، يستقبل Ayder طلبات HTTP القياسية - مما يعني أن المطورين يمكنهم التفاعل معه باستخدام curl فقط.

كشفت مقاييس الأداء الأولية عن قدرات مذهلة: throughput مستمر يبلغ 50,000 رسالة في الثانية على عنقود Raft ثلاثي العقد، مع تأخير P99 للعميل يبلغ 3.46 ميلي ثانية فقط. ربما يكون ما يثير الإعجاب أكثر هو عرض استعادة التعامل - بعد إنهاء غير نظيف SIGKILL، يعيد النظام التشغيل ويتحقق من سلامة البيانات لما يقرب من 8 ملايين من الإزاحات في أقل من دقيقة.

الهندسة المعمارية

تمثل فلسفة تصميم Ayder مغادرة متعمدة لأنماط الأنظمة الموزعة المعاصرة. بُني بالكامل بلغة C، يعطي النظام الأولوية للبساطة والشفافية التشغيلية على حساب وفرة الميزات.

نموذج النشر أحادي الملفف يعني أن المشغلين يديرون ملف تنفيذ واحد بدلاً من تنسيق عدة خدمات. يقلل هذا النهج من تعقيد النشر، وي消除 تضارب الاعتماديات، ويبسّط إجراءات الترقية. يحتوي الملفف على كل المنطق اللازم للاستمرارية، والتوافق، ومعالجة واجهة HTTP.

يغير التوافق المعماري مع HTTP أساسياً كيفية دمج التطبيقات مع سجل الأحداث. بدلاً من استيراد مجموعات تطوير برمجية متخصصة أو إدارة مجمعات اتصال لخدمات التنسيق، يصدر المطورون طلبات HTTP القياسية. يقدم هذا النهج عدة مزايا:

  • توافق عميل عالمي عبر أي لغة برمجة
  • تقليل سطح الهجوم من خلال البروتوكولات الموحدة
  • تصحيح أخطاء مبسط باستخدام أدوات HTTP المألوفة
  • أقل استهلاك للذاكرة بدون مكتبات عميل ثقيلة

يستخدم النظام توافق Raft عبر عنقود ثلاثي العقد لضمان الاستمرارية والتوافر. تُزامن عمليات الكتابة عبر أغلبية العقد قبل التأكيد على الإكمال، مما يوفر ضمانات قوة الاتساق حتى أثناء أجزاء الشبكة أو فشل العقد.

"الأرقام (Raft ثلاثي العقد، شبكة حقيقية، كتابات مزامنة الأغلبية، حمولة 64 بايت): ~50K رسالة/ثانية مستمرة (wrk2 @ 50K طلب/ثانية)، P99 للعميل ~3.46 مللي ثانية."

— مقاييس الأداء

مقاييس الأداء

حدث التحقق من الأداء على عنقود Raft ثلاثي العقد يعمل عبر بيئة شبكة حقيقية - وليس ظروف اختبار محاكاة أو معزولة. سيناريو Benchmark استخدم كتابات مزامنة الأغلبية مع حمولة 64 بايت، مما يمثل أحجام الرسائل النموذجية في بنى التدفق.

تظهر النتائج throughput مستمراً يبلغ حوالي 50,000 رسالة في الثانية تحت عبء مستمر بمعدل 50,000 طلب في الثانية باستخدام أداة benchmark wrk2. يشير مستوى Throughput هذا إلى أن النظام يمكنه التعامل مع استهلاك أحداث بحجم الإنتاج دون أن يصبح عنق زجاجة.

تظهر مقاييس التأخير تأخير P99 للعميل بـ 3.46 ميلي ثانية، مما يعني أن 99% من الطلبات تكتمل خلال هذا الإطار الزمني. يشير ملف الأداء هذا إلى أن Ayder يمكنه دعم التطبيقات الحساسة للتأخير حيث تكون أوقات الاستجابة الثابتة أمرًا بالغ الأهمية.

الأرقام (Raft ثلاثي العقد، شبكة حقيقية، كتابات مزامنة الأغلبية، حمولة 64 بايت): ~50K رسالة/ثانية مستمرة (wrk2 @ 50K طلب/ثانية)، P99 للعميل ~3.46 مللي ثانية.

يؤكد منهج Benchmark على الظروف الواقعية، مما يوفر ثقة بأن هذه المقاييس تنتقل إلى سيناريوهات نشر فعلية بدلاً من قياسات معملية مثالية.

استعادة التعامل

ربما يكون العرض الأكثر إثارة لاستمرارية Ayder هو capability استعادة التعامل. خضع النظام لإنهاء غير نظيف SIGKILL - محاكاة فشل مفاجئ في الخادم أو فقدان الطاقة بدون إجراءات إيقاف لطيفة.

بعد الإنهاء القسري، أعيد تشغيل Ayder بنجاح وتأكد من أن جميع الإزاحات والبيانات بقيت سليمة. تعاملت عملية الاستعادة مع حوالي 8 ملايين من الإزاحات في إطار زمني يتراوح من 40 إلى 50 ثانية. يشير سرعة الاستعادة هذه إلى آليات نقطة تفقيس وإعادة تشغيل السجل فعالة.

فيديو العرض، الذي يمتد حوالي دقيقتين من التعامل الأولي حتى التحقق الكامل من الاستعادة، يوفر دليلاً مرئياً على مرونة النظام. يعالج هذا الcapability متطلباً حاسماً للأنظمة الإنتاجية: الحفاظ على سلامة البيانات خلال انقطاع غير مخطط له.

تشمل خصائص الاستعادة الرئيسية:

  • التحقق التلقائي من الإزاحات بعد إعادة التشغيل
  • فقدان بيانات صفر على الرغم من الإنهاء غير النظيف
  • إعادة تشغيل سريعة لملايين الأحداث المسجلة
  • عملية استعادة شفافة لا تتدخل يدوي

تشير مقاييس الاستعادة هذه إلى أن Ayder ينفذ استراتيجيات تسجيل مسبق للكتابة واللقطات، مما يضمن أن حتى الفشل الكارثي لا ي compromise اتساق سجل الأحداث.

فرصة شريك التصميم

يبحث المطور بنشاط عن شركاء تصميم مبكرين للتحقق من Ayder عبر سيناريوهات إنتاجية متنوعة. يمتد هذا الدعوة إلى المنظمات التي تعمل أي نوع من استهلاك الأحداث أو أعباء التدفق.

سيحصل شركاء التصميم على وصول مبكر إلى التكنولوجيا مع تقديم الملاحظات التي تشكل خارطة الطريق. يبدو النظام جاهزاً للاختبار في العالم الحقيقي، مع وثائق شاملة تشمل مقاييس، وعروض فيديو، وأدلة بدء سريعة متوفرة في المستودع.

المنظمات التي قد تستفيد من التقييم تشمل تلك التي تستخدم حالياً:

  • طوابق رسائل تقليدية تبحث عن بساطة HTTP
  • بنى مصدر الأحداث التي تتطلب استمرارية
  • الخدمات الدقيقة التي تحتاج إلى تنسيق خفيف الوزن
  • منصات تدفق تعطي الأولوية لاستعادة التعامل

يشير الدعوة للشركاء إلى أن المشروع نضجeyond مرحلة إثبات المفهوم وجاهز للتحقق الأوسع. سيُساعد المبتكرون المبكرون في تحديد حالات الحدود، حدود الأداء، وأنماط التكامل عبر بيئات النشر المختلفة.

النظر إلى الأمام

يمثل Ayder عودة إلى البساطة في تصميم الأنظمة الموزعة. بخلط طبقات التجريد والاستفادة من بروتوكولات HTTP الشائعة، يوفر بديلاً مقنعاً لبنى سجل الأحداث المعقدة.

يجمع المزيج بين أداء عالٍ (50K رسالة/ثانية)، تأخير منخفض

Continue scrolling for more

الذكاء الاصطناعي يحول البحث والبراهين الرياضية
Technology

الذكاء الاصطناعي يحول البحث والبراهين الرياضية

لقد انتقل الذكاء الاصطناعي من وعد متقطع إلى واقع ملموس في الرياضيات، حيث تستخدم نماذج التعلم الآلي الآن لدعم استنباط براهين أصلية. يجبر هذا التطور على إعادة تقييم طرق البحث والتدريس في هذا التخصص.

Just now
4 min
165
Read Article
اختبار التوظيف لدى ستيفن بارتليت: لماذا يجتازه 7% فقط من المرشحين
Lifestyle

اختبار التوظيف لدى ستيفن بارتليت: لماذا يجتازه 7% فقط من المرشحين

الرائد الأعمال ستيفن بارتليت يستخدم اختبار ثقافة من 35 سؤالاً للتوظيف. 7% فقط من المرشحين يجتازون السؤال الحاسم، مما يكشف رؤية جديدة لحل المشكلات.

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
تايوان تصدر مذكرة توقيف لرئيس مجلس إدارة ون بلس بيت لاو
Crime

تايوان تصدر مذكرة توقيف لرئيس مجلس إدارة ون بلس بيت لاو

أصدرت السلطات التايوانية مذكرة توقيف لرئيس مجلس إدارة ون بلس بيت لاو بسبب ادعاءات بتجنيد عمال بشكل غير قانوني في تايوان.

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
تنبؤات Polymarket تصل إلى التيار الرئيسي في حفل توزيع جوائز جولدن جلوب
Entertainment

تنبؤات Polymarket تصل إلى التيار الرئيسي في حفل توزيع جوائز جولدن جلوب

ظهرت أسواق التنبؤ الخاصة بـ Polymarket في بث جولدن جلوب 2026 على CBS، مما يمثل أهمية كبيرة للمنصة وفقاً لـ CEO.

5h
5 min
0
Read Article
🎉

You're all caught up!

Check back later for more stories

العودة للرئيسية