I have been giving interviews for new job in Java Rest services.
One question has been asked by the interviewer again and again, the scenario is -
If you have a single rest API, which is hosted on single server i.e. no multiple instances of it.
And suddenly the number of requests which are hitting this rest api service are more.
How to manage such a scenario. How to manage a load on single service. No request should be denied.