| 
	
 | 
 Posted by Alexander Kuznetsov on 02/15/06 16:45 
Bobus, 
 
When I was solving a similar problem, I did try out the approaches 
suggested by Hugo and Erland. I hate to say that, but I was always 
getting a bottleneck because of lock contention on PinsTable. Maybe I 
was missing something at that time. I had a requirement to produce 
hundreds of PINs per minute at peak times, so I decided to allocate a 
batch of PINs at a time, instead of distrributing them one at a time - 
that took care of lock contention
 
  
Navigation:
[Reply to this message] 
 |