Re: Tolerable amount of CAS queries?

2017-07-21 Thread Jeff Jirsa
On 2017-07-21 06:41 (-0700), Jan Algermissen wrote: > > IOW, suppose I > > - have a cluster spanning geographic regions > - restrict the CAS queries to key spaces that are only replicated in a > single region and I use LOCAL_SERIAL CL > > would 100 CAS queries

Tolerable amount of CAS queries?

2017-07-21 Thread Jan Algermissen
Hi, I just read [1] which describes a lease implementation using CAS queries. It applies a TTL to the lease which needs to be refreshed periodically by the lease holder. I use such a pattern myself since a couple of years, so no surprise there. However, the article uses CAS queries not