Built from raw bits: TCP pooling, ICMP health checks, BPF packet sniffing, DNS caching, and custom HTTP parsing. No third-party proxies - pure Go infrastructure.
- Layer 4/7 Load Balancing with Round-Robin algorithm
- TCP Connection Pooling eliminating 3-way handshake overhead
- ICMP Active Health Probing for backend failure detection
- BPF Packet Sniffing for live traffic observability
- DNS Caching with TTL-based resolution
- Raw HTTP Parser without standard library dependencies
# Terminal 1 & 2: Start backends
go run cmd/backend/main.go -port=8081 -name=backend1
go run cmd/backend/main.go -port=8082 -name=backend2
# Terminal 3: Start proxy
sudo go run cmd/proxy/main.go -backends=http://localhost:8081,http://localhost:8082
# Terminal 4: Test
curl http://localhost:8080/
./scripts/load-test.sh