Re: [PERFORM] Multiple Concurrent Updates of Shared Resource Counter

2012-06-07 Thread Robert Klemme
On Thu, Jun 7, 2012 at 9:53 AM, Nir Zilberman wrote: > We are handling multiple concurrent clients connecting to our system - > trying to get a license seat (each license has an initial capacity of > seats). > We have a table which keeps count of the acquired seats for each license. > When a clien

[PERFORM] Multiple Concurrent Updates of Shared Resource Counter

2012-06-07 Thread Nir Zilberman
Hi. We are handling multiple concurrent clients connecting to our system - trying to get a license seat (each license has an initial capacity of seats). We have a table which keeps count of the acquired seats for each license. When a client tries to acquire a seat we first make sure that the numb