re: Explain deploying a web application Like I'm Five VIEW POST

TOP OF THREAD FULL DISCUSSION
re: From the link that you gave, it said app.domain.com and api.domain.com So I'm going to assume that you're asking about how a client app interacts ...
 

thanks. I'm really trying to understand why/how we choose to deploy the front and back end different places, but your analogy is helpful!

 

Think of it like this. What if your API is getting consumed by 5 different applications? And those applications reside at the same server as your API? As my previous example, the load will x6 now, and your server might have difficulty handling such load. 😬 So it's a good idea to separate the API so it doesn't share resources with other applications. 😊

code of conduct - report abuse