DOI: https://doi.org/10.1002/smr.70081
تاريخ النشر: 2026-01-01
المؤلف: Jacopo Massa وآخرون
الموضوع الرئيسي: أنظمة الحوسبة الموزعة والمتوازية
نظرة عامة
يُحسن استمرارية السحابة والحافة أداء التطبيقات من خلال وضع الحوسبة بالقرب من مصادر البيانات، ولكنه يقدم تحديات كبيرة في إدارة الموارد ووضع خدمات التطبيقات بسبب الحاجة إلى تحليل البيئات الديناميكية ذات ظروف الشبكة المتغيرة. لمواجهة هذه التحديات، يقدم البحث ECLYPSE، وهو إطار عمل قائم على بايثون مصمم لمحاكاة وتقليد أنظمة السحابة والحافة. يتضمن ECLYPSE نماذج تخصيص موارد قابلة للتكيف ونماذج وضع خدمات ضمن بنية معمارية مدفوعة بالحدث تسمح بالتعديلات الديناميكية على تكوينات الشبكة والموارد.
يسهل الإطار الانتقالات السلسة بين البيئات المحاكاة والمقلدة، مما يمكّن من إجراء التجارب في إعدادات محاكاة ومقلدة وهجينة. يوضح المؤلفون قدرات ECLYPSE من خلال ثلاث حالات استخدام متميزة، مما يبرز فعاليته في دعم النماذج الأولية السريعة عبر سيناريوهات متنوعة. تؤكد هذه العمل على أهمية دمج أدوات المحاكاة والتقليد لتقييم استراتيجيات إدارة التطبيقات والموارد المبتكرة بشكل صارم في استمرارية السحابة والحافة.
مقدمة
تناقش مقدمة البحث التقدم في نماذج السحابة والحافة، التي وسعت من قدرات الحوسبة الموزعة عبر مختلف القطاعات، بما في ذلك التحليلات في الوقت الحقيقي والأنظمة المستقلة. من خلال تسهيل الحوسبة بالقرب من مصادر البيانات، تُحسن هذه الاستمرارية من الاستجابة، وقابلية التوسع، وكفاءة الطاقة. ومع ذلك، فإنها تقدم أيضًا تحديات في إدارة الموارد ووضع التطبيقات بسبب تقلبات ظروف الشبكة وطلبات المستخدمين. النماذج الثابتة التقليدية غير كافية لهذه البيئات الديناميكية، مما يستلزم تطوير أطر عمل مرنة تدعم التجارب التكيفية دون تكبد تكاليف عالية من مزودي السحابة.
لمعالجة هذه التحديات، يقدم المؤلفون ECLYPSE 2، وهو إطار عمل قائم على بايثون يدمج المحاكاة والتقليد لتطوير وتحسين تطبيقات السحابة والحافة. يتميز ECLYPSE ببنية معمارية مدفوعة بالحدث تسمح بالتحكم الدقيق في ديناميكيات المحاكاة وسلوك وقت التشغيل. تعزز اختيار بايثون من سهولة الاستخدام والتكامل مع أطر التعلم الآلي، مما يجعله متاحًا لمجموعة واسعة من المستخدمين. يحدد البحث ثلاثة أهداف رئيسية: تقديم إطار عمل موحد للمحاكاة/التقليد، وإظهار مرونته عبر السيناريوهات التجريبية، وعرض كيف يدعم نظام بايثون البيئي التجارب الواقعية والفعالة من حيث التكلفة. تتناول الأقسام التالية من البحث نموذج بيئة ECLYPSE، والهندسة المعمارية، والنتائج التجريبية، ومراجعة الأدبيات ذات الصلة.
النتائج
في هذا القسم، تُعرض نتائج 3024 محاكاة، كل منها يستمر لمدة 600 وحدة زمنية، مما يبرز تأثير المعلمات المختلفة على معدلات نجاح التوزيع عبر طوبولوجيات مختلفة (هرمية، عشوائية، ونجمة) واستراتيجيات التوزيع (الأفضل ملاءمة، الأول ملاءمة، وأقل طاقة). حققت استراتيجية الأول ملاءمة أعلى معدل نجاح، بينما أدت استراتيجية أقل طاقة إلى أداء أسوأ بشكل ملحوظ، حيث حققت فقط حوالي نصف نجاح الأول ملاءمة. كانت استراتيجية الأفضل ملاءمة الأقل فعالية بسبب ميلها لملء العقد إلى السعة، مما يعيق التوزيعات المستقبلية. بالإضافة إلى ذلك، زادت الطبيعة المركزية لطوبولوجيا النجمة من مشاكل الأداء. أظهرت سياسة degrade(X) تحسينات طفيفة في معدلات النجاح مع قيم X أعلى، لكن هذه لم تتجاوز أبدًا 15%، مما يشير إلى قيود في استراتيجيات تقليل الموارد. على العكس، حافظت سياسة kill(X) على مرونة أفضل على الرغم من انخفاض معدلات النجاح مع زيادة X، مما يشير إلى أن الجمع بين استراتيجية الأول ملاءمة، وطوبولوجيا عشوائية متوسطة إلى عالية، وسياسة kill(X) ذات الاحتمالية المنخفضة يُحسن نجاح التوزيع.
كشفت التحليلات الإضافية لوقت استجابة تطبيق Sock-Shop أن ديناميكيات توزيع المستخدمين تؤثر بشكل كبير على الأداء. استقرت أوقات الاستجابة في البداية لكنها ارتفعت خلال أحداث مضاعفة المستخدمين، مما يدل على أن زيادة الحركة تجهد النظام. على العكس، أدى تقليل عدد المستخدمين إلى تقليل أوقات الاستجابة، وإن كان ذلك بشكل أقل دراماتيكية من الارتفاعات التي لوحظت خلال الزيادات. هذا يبرز حاجة النظام إلى تحسين للتعامل بشكل أفضل مع الزيادات المفاجئة في الحمل. أخيرًا، أظهرت تقييمات مقاييس الجودة الوظيفية أن الدقة تحسنت مع مرور الوقت، مما يؤكد فعالية وظائف التدريب. ومع ذلك، بعد تدهور الرابط عند الوحدة الزمنية 450، أصبحت الدقة أقل استقرارًا بسبب تقليل تبادل الصور، مما يبرز تأثير حجم العينة على موثوقية المقياس. بشكل عام، أظهرت وظائف التقليد قدرة قوية على تكرار سلوكيات التطبيقات في العالم الحقيقي، كاشفة عن ديناميكيات قد تتجاهلها التحليلات الثابتة.
المناقشة
يقدم نموذج ECLYPSE إطار عمل شاملاً لمحاكاة وتقليد بيئات السحابة والحافة، معالجًا التعقيد والفروق الجوهرية في مثل هذه الأنظمة. يتم هيكلة نموذج البيئة بشكل هرمي، ويشمل الأصول والبنية التحتية والتطبيقات والتوزيعات. تُعرف الأصول بأنها ثلاثيات تحدد قدرات ومتطلبات الموارد، مع وظائف تجميع ومقارنة محددة مصممة لأنواع الأصول المختلفة، مثل الإضافية لموارد المعالجة المركزية والضربية للتوافر. تُميز البنية التحتية بالعقد والروابط، بينما تتكون التطبيقات من خدمات تتفاعل بناءً على المتطلبات المحددة. تقوم وظيفة التوزيع بتعيين خدمات التطبيقات إلى عقد البنية التحتية، مما يضمن احترام قدرات الموارد وتلبية متطلبات التفاعل.
يستخدم نموذج المحاكاة رسمًا بيانيًا دوريًا غير دوري (DAG) لتمثيل الخطوات التشغيلية، مع تصنيف العقد كمنبهات، أحداث، أو ردود فعل. تسهل هذه البنية سير عمل محاكاة مرن يمكن أن يتكيف مع التغييرات الديناميكية في البيئة. تشمل الوظائف الرئيسية تحديث قدرات الموارد، وتحديد مواقع الخدمات، وضمان توافق متطلبات التطبيقات مع قدرات البنية التحتية. يركز إطار عمل ECLYPSE على التحكم من قبل المستخدم والمرونة، مما يسمح بتخصيص المحاكاة ودمج تنفيذات التطبيقات الحقيقية من خلال التقليد. بشكل عام، يهدف ECLYPSE إلى توفير منصة قوية وسهلة الاستخدام لتحليل وتقييم بيئات السحابة والحافة، مع تحقيق توازن بين الكفاءة الحاسوبية وتعقيد السيناريوهات الواقعية.
DOI: https://doi.org/10.1002/smr.70081
Publication Date: 2026-01-01
Author(s): Jacopo Massa et al.
Primary Topic: Distributed and Parallel Computing Systems
Overview
The Cloud-Edge continuum improves application performance by positioning computation closer to data sources, yet it introduces significant challenges in resource management and application service placement due to the need to analyze dynamic environments with varying network conditions. To tackle these challenges, the paper presents ECLYPSE, a Python-based framework designed for the simulation and emulation of Cloud-Edge systems. ECLYPSE incorporates adaptable resource allocation and service placement models within an event-driven architecture that allows for dynamic adjustments to network configurations and resources.
The framework facilitates seamless transitions between simulated and emulated environments, enabling experiments to be conducted in simulated, emulated, and hybrid settings. The authors demonstrate ECLYPSE’s capabilities through three distinct use cases, highlighting its effectiveness in supporting rapid prototyping across various scenarios. This work underscores the importance of integrating simulation and emulation tools to rigorously evaluate innovative application and resource management strategies in the Cloud-Edge continuum.
Introduction
The introduction of the paper discusses the advancements in Cloud-Edge paradigms, which have expanded the capabilities of distributed computing across various sectors, including real-time analytics and autonomous systems. By facilitating computation closer to data sources, this continuum improves responsiveness, scalability, and energy efficiency. However, it also presents challenges in resource management and application placement due to fluctuating network conditions and user demands. Traditional static models are inadequate for these dynamic environments, necessitating the development of flexible frameworks that support adaptive experimentation without incurring high costs from cloud providers.
To address these challenges, the authors introduce ECLYPSE 2, a Python-based framework that integrates simulation and emulation for the development and optimization of Cloud-Edge applications. ECLYPSE features an event-driven architecture that allows for precise control over simulation dynamics and runtime behavior. The choice of Python enhances usability and integration with machine learning frameworks, making it accessible for a wide range of users. The paper outlines three main objectives: to present a unified simulation/emulation framework, to demonstrate its flexibility across experimental scenarios, and to showcase how Python’s ecosystem supports realistic and cost-effective experimentation. The subsequent sections of the paper detail the ECLYPSE environment model, architecture, experimental results, and a review of related literature.
Results
In this section, the results of 3024 simulations, each lasting 600 ticks, are presented, highlighting the impact of various parameters on placement success rates across different topologies (hierarchical, random, and star) and placement strategies (best-fit, first-fit, and min-energy). The first-fit strategy yielded the highest success rate, while the min-energy strategy performed significantly worse, achieving only about half the success of first-fit. The best-fit strategy was least effective due to its tendency to fill nodes to capacity, which hampers future placements. Additionally, the centralized nature of the star topology exacerbated performance issues. The degrade(X) policy showed slight improvements in success rates with higher X values, but these never exceeded 15%, indicating limitations in resource reduction strategies. Conversely, the kill(X) policy maintained better resilience despite declining success rates as X increased, suggesting that a combination of the first-fit strategy, a medium-to-high random topology, and a low-probability kill(X) policy optimizes placement success.
Further analysis of the Sock-Shop application’s response time revealed that user distribution dynamics significantly affect performance. Response times stabilized initially but spiked during user-doubling events, indicating that increased traffic strains the system. Conversely, halving the user count led to reduced response times, albeit less dramatically than the spikes observed during surges. This underscores the system’s need for optimization to better handle sudden workload increases. Lastly, the evaluation of functional quality metrics showed that accuracy improved over time, affirming the effectiveness of training functionalities. However, after a link degradation at tick 450, accuracy became less stable due to reduced image exchanges, highlighting the influence of sample size on metric reliability. Overall, the emulation functionalities demonstrated a strong capacity to replicate real-world application behaviors, revealing dynamics that static analyses would overlook.
Discussion
The ECLYPSE model presents a comprehensive framework for simulating and emulating Cloud-Edge environments, addressing the inherent complexity and heterogeneity of such systems. The environment model is structured hierarchically, encompassing assets, infrastructure, applications, and placements. Assets are defined as triples that quantify resource capabilities and requirements, with specific aggregation and comparison functions tailored to different asset types, such as additive for CPU resources and multiplicative for availability. The infrastructure is characterized by nodes and links, while applications consist of services that interact based on defined requirements. The placement function maps application services to infrastructure nodes, ensuring that resource capacities are respected and interaction requirements are met.
The simulation model employs a directed acyclic graph (DAG) to represent operational steps, with nodes categorized as triggers, events, or callbacks. This structure facilitates a flexible simulation workflow that can adapt to dynamic changes in the environment. Key functionalities include updating resource capabilities, determining service placements, and ensuring that application requirements align with infrastructure capabilities. The ECLYPSE framework emphasizes user control and modularity, allowing for the customization of simulations and the integration of real application implementations through emulation. Overall, ECLYPSE aims to provide a robust, user-friendly platform for analyzing and validating Cloud-Edge environments, balancing computational efficiency with the complexity of real-world scenarios.
