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 */
Description: PGP signature
_______________________________________________ OpenStack-dev mailing list OpenStackfirstname.lastname@example.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev