Say we have a server which can serve only 4 HttpRequests at max at a time.
- If 10 Http requests come, what will happen? What are the various options?
- Will the new requests be abandoned or kept in waiting ?
- Is this configurable? Is this dependent on the framework?
- If they are kept in waiting, where are those requests stored?
- Does load balancer take care of it?
Does the developer need to take care of this in his code by building some queue?
These questions were asked to me in an interview recently.