[
https://issues.jboss.org/browse/JGRP-1825?page=com.atlassian.jira.plugin....
]
Manuel Dominguez Sarmiento commented on JGRP-1825:
--------------------------------------------------
Hi Bela, we would appreciate a native ReadWriteLock implementation in JGroups. We are
working on improving the EhCache-JGroups replication integration so that cluster
consistency can be achieved with replicated read-write caches. ReadWriteLocks are a
necessity for many scenarios and corner cases.
The alternative seems to be using the current exclusive lock construct, with two different
locks (one for reads, another for writes) together with a distributed COUNTER, but this is
far from being efficient (too chatty). Perhaps something along the lines of the algorithms
described in
https://en.wikipedia.org/wiki/Readers–writers_problem
ReadWriteLock
-------------
Key: JGRP-1825
URL:
https://issues.jboss.org/browse/JGRP-1825
Project: JGroups
Issue Type: Feature Request
Reporter: Bela Ban
Assignee: Bela Ban
Fix For: 3.6
Attachments: JgroupTest.zip
Adds a read/write lock to LockService. The impl is attached
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)