🌍Application Server
Also known as App Server
A program that runs your app's code to build each answer when it is asked.
Think of it like
It is like the kitchen in a cafe. The waiter takes your order, but the kitchen cooks it.
Example
Lucy's shop runs a Python app on Gunicorn. Nginx sends the images itself. It passes each order page to Gunicorn, which builds it from the database.
Why it matters
Splitting the two lets each do what it does best. The web server handles crowds, and the app server handles the logic.
Definition
Common mistake
Key takeaways
- 1Runs code. Builds each answer fresh.
- 2Behind a web server. Which passes requests to it.
- 3Talks to data. Reads and writes the database.