3 ms·
(Storage=none is streaming things through the journal, which I have no use for) Apache2 and Nginx are modular. Let me tell you the story of a small web applic
by Tobu 13y ago
(Storage=none is streaming things through the journal, which I have no use for)
Apache2 and Nginx are modular. Let me tell you the story of a small web application.
Once upon a time, requests were hitting an Apache server, dispatched to mod_python, and an embedded interpreter was keeping itself warm running Python code to answer the requests.
As the site grew, and the state of the art evolved, a programmer wrapped the application in a wsgi container, and gave it to a mod_wsgi container so that it would run at its own pace.
One day, the programmer brought home an nginx server it had found freezing in the tundra, and gave it a job serving static content in front of Apache. Nginx brought his uwsgi friend and they took turns running the site, nginx serving images and scripts, uwsgi replacing mod_wsgi.
This is what a competitive space looks like. Apache has competing modules, there are http servers and wsgi servers, some of them embedded, some of them external, http servers can collaborate or replace each other when a better thing comes along.
You don't see an http server deciding it will be the sole http server on the system, swallowing a wsgi server and waging war to all others.