l8bus
Overlay networking with routing, health, and leader election.
L8Bus implements the Layer 8 overlay network. TCP-based virtual networking with VNet switches and VNic interfaces. Smart service routing, multicast messaging, UDP-based peer discovery, distributed health monitoring, circuit breakers, metrics collection, and dynamic plugin loading.
The VNic provides six message delivery strategies. Each has a fire-and-forget variant and a synchronous Request variant that waits for a response.
/proc/self/stat and /proc/statruntime.MemStats.AllocThree-state pattern: Closed, Open, Half-Open. Configurable failure threshold (default 5), reset timeout (30s), concurrency limit (100), and success threshold (3) for half-open recovery.
Thread-safe registry for application performance tracking.
overlay/vnet/overlay/vnic/overlay/health/overlay/metrics/overlay/protocol/overlay/plugins/.so plugin loading with MD5-based cachingDedicated queues for service tasks, system tasks, data handling, and health reporting. Non-blocking event processing throughout.
44 source files, roughly 5,600 lines of Go (excluding vendor and tests). 8 integration test files covering overlay, messaging, keep-alive, leader election, scaling, and external VNic scenarios.