Category Archives: django

Using Memcached As A Distributed Lock From Within Django

I recently needed to lock a critical section of code to a single thread despite running in an environment with django on several servers. After a little bit of searching I came across the popular idea of using memcached’s “add” … Continue reading

Posted in django, memcached, python | Tagged | 2 Comments