Distributed lock on top of memcached. A simple Python context manager (taking advantage of the with statement) that implements a distributed lock using memcached to store lock state: “memcached_lock can be used to ensure that some global data is only updated by one server”. Redis would work well for this kind of thing as well.
Good point. I hadn't tohuhgt about it quite that way. :)
King - 3rd July 2011 05:05 - #
Many many quality pinots there.
Jady - 8th October 2011 18:50 - #
You've got to be kdiidng meit's so transparently clear now!
Mahaley - 10th October 2011 05:36 - #