Wednesday, May 25, 2011

Re: Synchronize method or model field access


On 2011-05-25, at 3:22 PM, Pawel R wrote:

I would push the atomic updates to the database or use a queue with a single worker.  Thread level locking doesn't scale across processes or servers.

Could you tell me please how?

Celery provides a queue you could use:

http://ask.github.com/celery/getting-started/introduction.html
--
  Andy McKay
  andy@clearwind.ca
  twitter: @andymckay
 

No comments:

Post a Comment