On Mon, Sep 29 2014, Morgan Fainberg wrote:

> The big issue you're going to run into is locking. The indexes need to have
> a distributed lock that guarantees that each index is read/updated/released
> atomically (similar to the SQL transaction). The way memcache and redis
> handle this is by trying to add a record that is based on the index record
> name and if that "add" fails (already exists) we assume the referenced
> record is locked. We automatically timeout the lock after a period of time.

For distributed locking, using tooz┬╣ could solve that issue.

┬╣  http://tooz.readthedocs.org/en/latest/

Julien Danjou
/* Free Software hacker
   http://julien.danjou.info */

Attachment: signature.asc
Description: PGP signature

OpenStack-dev mailing list

Reply via email to