KensoDev/visit-counter — pull request #1 by unorthodoxgeek (2012-09-24 19:54:24+00:00)
Title: adding locks on counters to avoid concurent writes

in order to avoid concurent writes to disk when there are a lot of visits to an object, we add a lock on it and only execute the persist call if there isn't any other lock on it. (currently only works with redis, which is anyway the only method we currently support)