使用可扩展云基础设施进行实时系统的卸载追踪
Offloading tracing for real-time systems using a scalable cloud infrastructure
AI总结:
本文提出基于微服务、边缘计算、WebSockets 与 Apache Kafka 的云端追踪架构,将实时系统追踪处理卸载到云端,支持并行会话、长期监控与现场运行时分析。
摘要:
实时嵌入式系统需要精确的时序和故障检测,以确保行为正确。传统追踪工具通常依赖处理和存储能力有限的本地桌面,这阻碍了大规模分析。本文提出一种基于微服务和边缘计算的、可扩展的云端架构,用于实时系统中的软件追踪。我们的方法将追踪处理工作负载从开发人员的机器转移到云端,使用专用追踪组件捕获追踪数据,并通过 WebSockets 和 Apache Kafka 将其转发到可扩展后端。这实现了对目标执行的长期监控和协同分析,例如检测和调查偶发错误。我们展示了该架构如何支持对并行追踪会话的可扩展分析,并为未来集成基于规则的测试和运行时验证奠定基础。评估结果表明,该架构能够高效处理大量并行追踪会话,尽管随着系统负载增加,单会话吞吐量略有下降,而总体吞吐量有所上升。虽然该设计包含用于开发期间分析的专用追踪器,但这种方法并不局限于此类设置。具备网络连接的目标系统可以直接流式传输精简后的追踪数据,从而实现现场运行时监控。
英文摘要:
Real-time embedded systems require precise timing and fault detection to ensure correct behavior. Traditional tracing tools often rely on local desktops with limited processing and storage capabilities, which hampers large-scale analysis. This paper presents a scalable, cloud-based architecture for software tracing in real-time systems based on microservices and edge computing. Our approach shifts the trace processing workload from the developer's machine to the cloud, using a dedicated tracing component that captures trace data and forwards it to a scalable backend via WebSockets and Apache Kafka. This enables long-term monitoring and collaborative analysis of target executions, e.g., to detect and investigate sporadic errors. We demonstrate how this architecture supports scalable analysis of parallel tracing sessions and lays the foundation for future integration of rule-based testing and runtime verification. The evaluation results show that the architecture can handle many parallel tracing sessions efficiently, although the per-session throughput decreases slightly as the system load increases, while the overall throughput increases. Although the design includes a dedicated tracer for analysis during development, this approach is not limited to such setups. Target systems with network connectivity can stream reduced trace data directly, enabling runtime monitoring in the field.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。