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 */ -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 818 bytes Desc: not available URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140930/7a9c6ffc/attachment.pgp>