This content has been marked as final. Show 4 replies
incresing the1 of 1 people found this helpful
concurrencyLevel would reduce the chance of lock overlaps, but as manik suggested I think retrying should be the solution for general case.
The default concurrencyLevel is 512, and my test has access from only two threads in two separate instances. I also tried to have different prefix for the keys I access from different threads. So basically there is no key collision. However, it happens quite frequently. Could you please suggest why and how to avoid it?
1 of 1 people found this helpful
you won't be able to get rid of timeouts even if you disable lock striping; (but this would reduce the chance for this to happen, as you said).
beside disabling lock stipping, you can also increse replication timeout (try 20000 for example).