[openstack-dev] Do we need lock fencing?

2016-02-19 Thread Joshua Harlow
Hi all, After reading over the following interesting article about redis and redlock (IMHO it's good overview of distributed locking in general): http://martin.kleppmann.com/2016/02/08/how-to-do-distributed-locking.html#protecting-a-resource-with-a-lock (I personally recommend people read the

Re: [openstack-dev] Do we need lock fencing?

2016-02-22 Thread Thierry Carrez
Joshua Harlow wrote: After reading over the following interesting article about redis and redlock (IMHO it's good overview of distributed locking in general): http://martin.kleppmann.com/2016/02/08/how-to-do-distributed-locking.html#protecting-a-resource-with-a-lock (I personally recommend peopl

Re: [openstack-dev] Do we need lock fencing?

2016-02-22 Thread Chris Friesen
On 02/19/2016 06:05 PM, Joshua Harlow wrote: Hi all, After reading over the following interesting article about redis and redlock (IMHO it's good overview of distributed locking in general): http://martin.kleppmann.com/2016/02/08/how-to-do-distributed-locking.html#protecting-a-resource-with-a-l

Re: [openstack-dev] Do we need lock fencing?

2016-02-22 Thread Joshua Harlow
Agreed seems pretty useful. Unsure exactly how it would be performed in some of the tooz backends, but that's just a technical detail ;) On 02/22/2016 03:41 PM, Chris Friesen wrote: It may also be beneficial to take a page from POSIX "robust mutexes" and introduce a way for the new lock holde