Beeper

Application-layer parser for eBPF programs

A Rust library that lets eBPF programs parse HTTP/1.1 and HTTP/2 in the kernel, using an Aho-Corasick-like DFA built in userspace. A program can then monitor, redirect or answer L7 traffic from the kernel. RESP2 is in progress.

  • 4.5x vs axum32KB over HTTP/2, local
  • 3.4x vs axum32KB over HTTP/2, remote

Trade-offs

  • A DFA constructed in userspace, which reduces parsing complexity to a level eBPF can run. The headers to capture are chosen before the program loads.
  • Fixed parser limits. An oversized header or frame returns -E2BIG, and the caller rejects it or bypasses parsing for that message.

Q&A3

Maximum throughput of hyper-fast-path, which uses Beeper to serve a 32KB static asset from the kernel, compared to an axum server. Only static assets count, and the result depends on load, size and path.

Reviews

Loading reviews

    More in eBPF

    See all 8 →
    • XDPerfXDP traffic generator with WASM packet plugins
    • rocketplaneIOSelf-hosted Kubernetes observability with transaction-gated agent actions
    • GhostScopeSource-aware eBPF tracer for live userspace processes
    • kernwatchTerminal dashboard for Linux kernel observability
    • ProcInShWeb-based Linux process inspector with a 3D process space
    • pktstat-bpfPer-flow traffic monitor for Linux with four eBPF capture modes

    More in Performance

    See all 47 →
    • FeOxDBEmbedded key-value store in Rust with write-behind durability
    • blitcpFile copier that reads in disk order, dedupes and streams over raw SSH
    • EntrolyLocal context layer that picks what coding agents send to the model
    • BigMoeOnEdgeEngine that streams MoE experts from flash to run models larger than memory
    • AntirionAI gateway in one Rust binary, with the admin console built in
    • PXALLM server tuned for Tesla P100, V100 and GTX 10-series GPUs

    More in Rust

    See all 146 →
    • PaganelData migration engine that verifies the destination down to the row
    • AudioRouterVisual audio router for Windows 11: route, process and record on a canvas
    • ai-memoryPersistent memory for MCP clients in one Rust binary over SQLite
    • jc-rsjc rewritten as one static binary that turns command output into JSON
    • OVLTSelf-hosted OIDC server in one Rust binary, multi-tenant through Postgres RLS
    • HashCortxLocal-first desktop workspace for chat, coding agents and agent teams