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
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to