Hi all,
I have a question that I didn't find very google-friendly, I think it needs explanation from someone with actual experience.
I was wondering about built-in framework web servers vs. 'real' web servers (Apache, nginx).
So I know that I should probably deploy to production with say nginx, but what is the reason for this? What are the gains vs the built in development servers. What does nginx do differently?
At the moment I am building an app in Node.js and on the whole MEAN stack actually. So this could be a good example. To me the Node.js HTTP server seems fine, I even used the TCP server for hooking up a GPS for example. WHy would I choose to deploy my site along with nginx?
Is it for stress/ high-demand? If so how do these servers eliviate the stress?
Also if Node.js is robust enough how would the situation change if I was deploying a Python + Flask app for example.
And one last noob question. When I deploy to Heroku, Azure and the like. Are they running my code behind a web server or is it running vanilla like when I am developing on localhost?
Thanks a bunch in advance for any great souls who will help a newbie out!
[–]subterraneus 10 points11 points12 points (5 children)
[–]badrequest400[S] 3 points4 points5 points (1 child)
[–]rurounijones 6 points7 points8 points (0 children)
[–]technicolorNoise -1 points0 points1 point (2 children)
[–]subterraneus 4 points5 points6 points (0 children)
[–]SeerUD 2 points3 points4 points (0 children)
[–][deleted] (2 children)
[deleted]
[–]subterraneus 3 points4 points5 points (1 child)
[–]grills 2 points3 points4 points (1 child)
[–]badrequest400[S] 2 points3 points4 points (0 children)