On Tue, 2006-10-10 at 12:01 +0200, Picio wrote: > Hello, > I saw in the official docs that It's not a good practice to use the > django embedded web server in any production envionment. > I have a little Intranet with 4 workstation and a home made server > (based on an old pc). > There are no reason to think about security in this LAN because It's > only me, my wife and two other friends working. There are no > performance concerns since the I app I built It's very simple and only > 2 or 3 users may work on It at the same time. > So, > what are the risks you see in me using the django web server to deploy > a little web app?
The development server is only single threaded. So one request at a time. Since requests include each and every stylesheet, every image, etc, that can be quite a number of requests per page. If there is ever a problem where one browser doesn't close the connection completely, it will block all other requests. This shouldn't happen (since it will only be speaking HTTP/1.0, so persistent connections aren't available), but I've heard people mentioning that they'd had IE not closing the connection completely. Completely unconfirmed by me; may or may not be a real problem. There is no really robust error recovery in the server: if your code throws an exception, it may be sufficient to stop the server's main loop (not all exceptions cause this, but it's possible to have this happen). All that said, try it out and see. If it doesn't work, you'll notice pretty quickly and then you're no worse off than you are now. It's not like it's going to take forever to set up the experiment (I would hope). Regards, Malcolm --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users -~----------~----~----~----~------~----~------~--~---

