Let's say you make a website (something like Facebook). You write code, deploy it on servers, and increase the number of servers as the load increases. These servers are behind a load balancer, and requests can go pretty much to any server at random.
But let's say you do something like Firebase. Now on firebase you can create an application and you will get the subdomain <app_name>.firebase.com . Although your server code is still the same for all applications, but requests for app1.firebase.com will be sent to a dedicated set of servers other than app2.firebase.com . Thus, downloading from one application cannot affect another, as it should be.
Like something like Firebase, more specifically, in the interest of limiting the scope of the question, how are requests directed to a specific set of hosts for each application ?
web-applications architecture firebase load-balancing
Jatin
source share