unknown Interview Question
Software DevelopersCountry: India
Interview Type: Written Test
Having 500 is internal server error, that shouldn't be the case, even if the query is rolled back or the transaction didn't commit we can handle that with custom exception!!
In practice systems may often have timeouts set in various places in the code, and if some database requests are really slow, some API requests may time out. Therefore increase in 500 codes. We can't say there will *definitely* be an increase -- just probably. Also hard to say there will really be an increase in the RAM usage. If there's not a lot of state associated with a request, the RAM utilization may not be noticeable.
The expected answer is
- __Joker October 10, 2018a. Increase in the latencies.
and b. In crease in RAM utilisation on the API servers.
and e. Increase in 5xx responses.
Personally, how can you say that there will be a definitely increase in 5xx responses. Anybody ?