Lattice Hub Docs
Guides

Pole Sidecar

Pingora-based lightweight data-plane skeleton for local HTTP/gRPC forwarding.

Pole Sidecar is Lattice Hub’s lightweight data-plane direction. It uses TOML config, supports HTTP and gRPC forwarding, and keeps interceptor extension points. Facts still come from control-plane active views.

sidecar data plane

Current capabilities

  • Inbound HTTP/1.1 and HTTP/2 including gRPC-h2c
  • Route by grpc_prefix then prefix
  • Round-robin load balancing in the sample path
  • Request/upstream interceptor hooks for ACL, limiting, breaking, and metrics

Quick start

cargo build
RUST_LOG=info cargo run
SIDECAR_CONFIG=./sidecar.toml RUST_LOG=debug cargo run

Requires Rust 1.74+.

Further reading

On this page