PhilippTheServer

cpp

C++ services and the build systems that make them reproducible.

  1. Multicast Service Discovery on a Host With a WireGuard Interface

    "Required key not available" (ENOKEY) on multicast sendto: kernel WireGuard has no peer for 239.0.0.0/8. Filter interfaces on IFF_MULTICAST and IFF_POINTOPOINT.

  2. A Shared Multi-Stage Base Image for a C++ Service Fleet

    vcpkg install pistache rebuilt in every service Dockerfile: a shared, versioned multi-stage base image that compiles C++ dependencies once for the fleet.

  3. Migrating Redis Consumers from Python to C++ on Constrained Hardware

    redis-plus-plus xreadgroup times out before its block timeout: set socket_timeout to 0. Replacing idle Python Redis stream consumers with C++.

All topics · All writing