4 ms·
I've worked on a system which communicated errors by responding with a 200 and then indicating the error in the response body! Similarly, you might have e.g. a
by camtarn 9y ago
I've worked on a system which communicated errors by responding with a 200 and then indicating the error in the response body!
Similarly, you might have e.g. a server which is responding to a 'get all widgets in category' call by quickly responding '200 OK, no widgets found', and thus ends up sucking up all the traffic.
- asmithmd1 9y agoExactly, you need to have a health check that actually exercises all the layers of the system and returns real data. You don't want to use actual data, so you add a dummy account. Someone deletes the dummy account all the servers that are working perfectly start reporting they are sick.