Scale the API Behind the Gateway
Three replicas behind Nginx. One problem announces itself with an error; the other is silent and is the one that matters.
Project labintermediate~40 minFree
What you'll do
- ✓Remove the fixed host port that blocks scaling
- ✓Configure a gateway that re-resolves its upstream
- ✓Prove traffic reaches more than one replica
- ✓State what Compose scaling cannot do
Lab outline
- 01Replicas
- 02Gateway
- 03Distribution
Before you start
- Compose the Service Stack
Every lab runs on a real machine of your own in the browser — no installs, nothing to clean up — and checks your work automatically as you go.