IPng Networks
Read post

VPP with Maglev Loadbalancing

A detailed walkthrough of building a control plane for VPP's Maglev load balancer plugin. The author created vpp-maglev, a suite of four Go binaries: maglevd (daemon), maglevc (CLI), maglevd-frontend (web dashboard), and maglevt (test utility). Key design principles include single source of truth via gRPC, restart neutrality with a two-phase startup warmup, diff-based reconciliation, and structured observability. The health checking system borrows HAProxy's rise/fall counter model with added hysteresis and jitter. The CLI supports prefix matching and tab completion inspired by Bird and SR Linux. The web dashboard uses SolidJS embedded in a Go binary with real-time updates via Server-Sent Events. The system is deployed in production at IPng Networks across four VPP machines in multiple cities.

    #golang#grpc
May 10•29m read time•From ipng.ch
Post cover image
Table of contents
IntroductionVPP Maglev: ControlplaneDesign PrinciplesHealth Checker: maglevdControlplane API: gRPC EndpointDataplane API: VPP Plugin ProgrammingControlplane CLI: maglevcTest Utility: maglevtFrontend: GUI maglevd-frontendResultsWhat’s Next
25.8K Impressions
IPng Networks's image
IPng Networks

Feisty Duck's resource offers insights, tutorials, and resources for cybersecurity professionals and...

24 Followers

•

55 Upvotes

Would you recommend this post?

Copy link
WhatsApp
Facebook
X
New Squad
  • © 2026 Daily Dev Ltd.
  • Guidelines
  • Explore
  • Tags
  • Sources
  • Squads
  • Leaderboard