From: "Benjamin Slavin" <benjamin.sla...@gmail.com>
Date: Tue, 25 Sep 2007 20:27:52 -0400
Local: Tues, Sep 25 2007 8:27 pm
Subject: Re: Django 100% threadsafe with DB?
On 9/25/07, Mike Scott <mic...@gmail.com> wrote:
> It should be threadsafe - [... ] web applications [...] pretty much Mike, > [become] a threaded application There are two issues here. Thread safe and concurrent operation, and Django DOES supports concurrent operation (separate processes on the Django DOES NOT support threaded operation (and from what I've This is why Apache must be configured to use the prefork model instead In practice this doesn't tend to pose a problem for web deployments. Where you may run into some difficulty is if you want to make a If you'd like to discuss this issue further, please bring it up on django-users. > I think more research should be done into this sort of operation Database locking has been discussed previously on this list and in a number of related tickets in Trac. This is currently the recommended approach for ensuring data integrity in a Django app. It is, however, true that there are still some race conditions that require special attention (get_or_create is one of them). I agree that there should probably be more information about how to I hope this helps to clarify things a bit. - Ben 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.
| ||||||||||||||