Google Groups Home
Help | Sign in
Message from discussion Django 100% threadsafe with DB?
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Joseph Kocherhans  
View profile
 More options Sep 26 2007, 12:17 am
From: "Joseph Kocherhans" <jkocherh...@gmail.com>
Date: Tue, 25 Sep 2007 23:17:34 -0500
Local: Wed, Sep 26 2007 12:17 am
Subject: Re: Django 100% threadsafe with DB?
On 9/25/07, Graham Dumpleton <Graham.Dumple...@gmail.com> wrote:

> Can we please somehow settle this issue once and for all. I have tried
> to get discussions going on this issue in the past but have got
> minimal feedback. I thought that too a degree it had been determined
> that multithreaded servers were okay, although users should though
> ensure there own code is multithread safe, but now again someone is
> saying that Django itself is not multithread safe. :-(

I talked with Jacob about this quite a while ago and he told me that
Django was not originally written to be threadsafe. The only threading
problems I remember hearing about were with the database connections,
and those issues were fixed in #1442 [1]. To my knowledge, there has
never been any review of the code to check for other possible sticky
spots. I used to deploy Django on Windows and never had any threading
problems, but the sites were mostly low traffic, internal, and
probably not good candidates for exposing problems.

In short, Django was not *designed* to be threadsafe, but any obvious
problems that I'm aware of have been fixed. YMMV.

Joseph

[1] http://code.djangoproject.com/ticket/1442


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google