Skip to content

About

High-performance L7 reverse proxy and load balancer with active health checks and circuit breakers

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

go-reverse-proxy

A high-performance L7 HTTP Reverse Proxy and Load Balancer built in Go.

Features

  • Load Balancing Algorithms:
    • Round-Robin
    • Least-Connections
    • IP Hash (consistent client affinity)
  • Rate Limiting:
    • Token-Bucket algorithm per remote IP address with automatic refill.
  • Circuit Breaker:
    • Three-state resilience pattern (Closed $\to$ Open $\to$ Half-Open $\to$ Closed) per upstream backend.
  • Active Health Checks:
    • Periodic background HTTP probes with automatic ejection of failing upstreams.
  • Header Management:
    • Standard headers manipulation (X-Forwarded-For, X-Forwarded-Proto, X-Real-IP).

Running Tests

go test -v -race ./...

About

High-performance L7 reverse proxy and load balancer with active health checks and circuit breakers

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages