fail-fast
Stopping immediately with a clear error as soon as something is wrong, rather than limping on and failing later in a confusing way.
In more detail
An app that validates its configuration at startup and exits on bad values fails fast. A circuit breaker in the open state also fails fast, rejecting calls instantly instead of waiting for timeouts.
Related terms
- environment variable — A named setting such as PORT=8000 that a program reads from its surroundings when it starts.
- circuit breaker — A wrapper around calls to another service that stops making calls for a while after repeated failures, so the failing service can recover.
Taught in
- Environment Configuration: Secrets & Multi-Stage — Production Full-Stack Engineering
- Resilience Engineering: Circuit Breakers & Retries — Production Full-Stack Engineering