chmouel/ftp-cloudfs — pull request #24 by reidrac (2012-03-27 14:21:31+00:00)
Title: Shared cache for multiple worker operation

Since we added the possibility of running the service using multiple workers we lost the benefit of the listing cache.

These changes improve the cache usage in different cases:

- there's just one worker: the cache works as pre-worker code (local cache)
- there are multiple workers:
- if there's a memcached server configured, it's used to store the cache (external cache)
- if there's no memcached server configured, the cache isn't that effective because extra flushes must be added to avoid cache insistences between workers

It adds the python-memcache dependency.