3 ms·
I am not serving static content, so this reply is absolutely irrelevant. On top of this, you can do the same with docker run nginx -v.:/var/www (which btw is a
by heavenlyblue 7y ago
I am not serving static content, so this reply is absolutely irrelevant.
On top of this, you can do the same with docker run nginx -v.:/var/www (which btw is a similar number of symbols). Also python’s http module barely supports anything but the most basic content-types (so good luck with eg SVGs).
- kbutler 7y agoAt a few more orders of magnitude of memory use, sure. Tradeoffs everywhere, which make sense or not depending on your requirements. But Python's ref counting isn't a significant factor in its memory use.
- heavenlyblue 7y ago>> At a few more orders of magnitude of memory use, sure. Are you implying nginx uses more memory than a python interpreter? :)