15.2. Configure Lock Striping (Remote Client-Server Mode)
15.2. Configure Lock Striping (Remote Client-Server Mode) Lock striping in Red Hat JBoss Data Grid's Remote Client-Server mode is enabled by setting the striping element to true . Example 15.1. Lock Striping (Remote Client-Server Mode) Note The default isolation mode for the Remote Client-Server mode configuration is READ_COMMITTED . If the isolation attribute is included to explicitly specify an isolation mode, it is ignored, a warning is thrown, and the default value is used instead. The locking element uses the following attributes: The acquire-timeout attribute specifies the maximum time to attempt a lock acquisition. The default value for this attribute is 10000 milliseconds. The concurrency-level attribute specifies the concurrency level for lock containers. Adjust this value according to the number of concurrent threads interacting with JBoss Data Grid. The default value for this attribute is 32 . The striping attribute specifies whether a shared pool of locks is maintained for all entries that require locking ( true ). If set to false , a lock is created for each entry. Lock striping controls the memory footprint but can reduce concurrency in the system. The default value for this attribute is false . Report a bug
<locking acquire-timeout="20000" concurrency-level="500" striping="true" />