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?
Asked
Active
Viewed 1,268 times
1 Answers
2
At the high-level, the three play the following roles:
Rails
Application. Encompasses the business logic - user management, buy / sell transactions, display / update / delete / create information, etc.
Passenger
Application Server. The server equivalent of running rails server
locally.
Apache
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.

Community
- 1
- 1

Prakash Murthy
- 12,923
- 3
- 46
- 74