Software design patterns improve latency measurement in software networks
Software Design Patterns for Latency Measurements with eBPF in SDN Environments
PerformanceNetworking and Internet ArchitectureSoftware Engineering
Summary
Measuring delays in software-controlled computer networks is important but can get complicated and slow. This paper shows how organizing the measurement tools using common software design methods keeps the system easy to update and fast while not hurting performance. The authors tested their setup using simulations and found only a small extra time cost caused by these design methods. This suggests that well-known software engineering ideas can help build better tools for watching network performance.
What this means in practice
- •For network engineers: Create modular latency monitoring tools in software-defined networks that are easy to extend without hurting speed.
- •For system administrators: Integrate flexible and maintainable eBPF-based latency measurement into operational observability systems for improved network monitoring.
Authors
Pedro Lucas M. S. Rosa, Bruno L. Dalmazo, Leticia S. Machado, Jéferson Campos Nobre
Abstract
This work proposes, implements, and evaluates a modular architecture based on software design patterns applied to latency measurement in Software-Defined Networks (SDN) using the Extended Berkeley Packet Filter (eBPF) and the Express Data Path (XDP). Unlike approaches that focus solely on measurement precision, this study examines how design patterns can structure observability systems in an extensible and maintainable way while preserving data-plane efficiency. The proposed architecture applies the Observer, Strategy, and Factory Method patterns to modularize the metric collection and analysis pipeline, allowing dynamic integration of policies and data sinks. The experimental environment was implemented with Mininet, Python agents, and eBPF/XDP programs, and was evaluated in terms of processing time, overhead, and evolution effort. The results show that the introduction of design patterns shows no clear evidence of measurable performance degradation, maintaining continuous measurements with a minimum of 5% overhead. The findings suggest that software engineering practices may be applied to the construction of eBPF-based monitoring and observability systems.