Node.js · Senior · Question 73 of 75
What does load shedding mean for an overloaded Node.js service?
- ✓Correct answer: When event loop delay or memory is too high, quickly reject new requests with 503 instead of accepting work it can't finish in time
- 2Moving traffic to a slower region
- 3Deleting old logs to free disk space
Explanation
Accepting everything makes every request slow and can crash the process. Plugins like Fastify's under-pressure implement this, and clients should retry with backoff.