Releases: bimakw/api-gateway
Releases · bimakw/api-gateway
v1.6.0 - Load Balancer
What's New
This release adds Load Balancing support for multiple backend instances with health-aware routing.
Features
- Load Balancing Strategies: Round-robin and random selection
- Multiple Backends: Configure multiple instances per service
- Health-Aware Routing: Automatically skips unhealthy backends
- Health Callback: Real-time health status propagation to load balancer
- Observability:
X-Backendresponse header shows which backend handled the request
Configuration
# Multiple backends (comma-separated)
AUTH_SERVICE_BACKENDS=http://auth1:8080,http://auth2:8080,http://auth3:8080
# Load balancing strategy (default: round-robin)
AUTH_SERVICE_STRATEGY=round-robinBackward Compatibility
Existing single-backend configuration still works:
AUTH_SERVICE_URL=http://localhost:8080Test Coverage
- Load balancer package: 93% coverage
- All existing tests pass
Full Changelog: v1.5.0...v1.6.0