A lightweight custom reverse proxy with built-in load balancing.
PivotProxy forwards client requests to backend application servers while hiding server IPs, improving scalability, and mitigating DDoS risks. It supports multiple load balancing algorithms, including:
- Round Robin
- Least Connections
- Weighted Balancing
- Single public entrypoint for client traffic
- Load balancing across 1-N application servers
- Server health checks & metrics (connections, latency, capacity)
- Minimal overhead (<15ms added latency)
- DDoS mitigation by distributing load across servers
- Fast server state tracking via Redis
- Reverse proxy itself may become a bottleneck under heavy attack
- Requires scaling with multiple proxies to avoid overload
Earliest start date: 08/25/25
Finished : 08/31/25
Requests are sent to a single public IP and routed to backend servers based on load balancing rules. Metrics can be exposed via an API for monitoring.
https://docs.google.com/document/d/1dyVmPib7QwCITQSdrs2h5IQmpqHJdFSTw78ACIIFWjE/edit?usp=sharing