Reputation: 441
When a http request is made, what is the role of the 3 different groups mentioned above? What do each of them do before the Application code is finally called?
Upvotes: 4
Views: 1278
Reputation: 13077
At the high-level, the three play the following roles:
Application. Encompasses the business logic - user management, buy / sell transactions, display / update / delete / create information, etc.
Application Server. The server equivalent of running rails server
locally.
Web/HTTP server. Intercepts and responds to requests from clients (browsers).
See https://stackoverflow.com/a/4113570/429758 for an in-depth treatment on this topic.
Upvotes: 2