The concerns about needing a separate server are likely overblown. In particular, Whitenoise is a popular solution for static file serving using Python. See its FAQ: http://whitenoise.evans.io/en/stable/#isn-t-serving-static-files-from-python-horribly-inefficient
On Tuesday, June 28, 2016 at 9:59:26 PM UTC-4, Ankush Thakur wrote: > > Thanks but I'm afraid I wasn't able to grasp the point of that article. > Could you break it down for me, please? > > ~~Ankush > > On Monday, June 27, 2016 at 10:07:43 PM UTC+5:30, ludovic coues wrote: >> >> It's not that the framework will come to an halt. It's that a server >> serving static file directly would be an order of magnitude faster. >> >> https://unix4lyfe.org/time/hn.html is a nice article on how server >> react to heavy load when serving static file. >> >> 2016-06-27 18:26 GMT+02:00 Ankush Thakur <[email protected]>: >> > I keep hearing in the docs and in tutorials that frameworks are >> horrible >> > when it comes to service static files. In production, also, one needs >> to set >> > up another dedicated server to serve static files. >> > >> > I'm wondering why. What is so special about serving static files that a >> > framework comes to a halt, even though the same framework can happily >> serve >> > thousands of requests per hour? >> > >> > Regards, >> > Ankush Thakur >> > >> > -- >> > You received this message because you are subscribed to the Google >> Groups >> > "Django users" group. >> > To unsubscribe from this group and stop receiving emails from it, send >> an >> > email to [email protected]. >> > To post to this group, send email to [email protected]. >> > Visit this group at https://groups.google.com/group/django-users. >> > To view this discussion on the web visit >> > >> https://groups.google.com/d/msgid/django-users/CALX%3DrKLw_nMxZz7xeC0N%3D5Zwn0Q0eZnV_GFGkdwmP-%3DabtPMUQ%40mail.gmail.com. >> >> >> > For more options, visit https://groups.google.com/d/optout. >> >> >> >> -- >> >> Cordialement, Coues Ludovic >> +336 148 743 42 >> > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/c2f1699e-9bfc-43f4-a858-a54a256cec1d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

