[jira] Commented: (LUCENE-2779) Use ReadWriteLock in RAMDirectory

2010-11-28 Thread Earwin Burrfoot (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2779?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12964511#action_12964511 ] Earwin Burrfoot commented on LUCENE-2779: - If you don't write, you don't care

[jira] Commented: (LUCENE-2779) Use ReadWriteLock in RAMDirectory

2010-11-28 Thread Earwin Burrfoot (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2779?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12964512#action_12964512 ] Earwin Burrfoot commented on LUCENE-2779: - I mean, even if aquiring locks costed

[jira] Commented: (LUCENE-2779) Use ReadWriteLock in RAMDirectory

2010-11-28 Thread Simon Willnauer (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2779?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12964514#action_12964514 ] Simon Willnauer commented on LUCENE-2779: - Shai, I actually think Earwin is right

[jira] Commented: (LUCENE-2779) Use ReadWriteLock in RAMDirectory

2010-11-28 Thread Earwin Burrfoot (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2779?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12964515#action_12964515 ] Earwin Burrfoot commented on LUCENE-2779: - My primary point was that you're not

[jira] Commented: (LUCENE-2779) Use ReadWriteLock in RAMDirectory

2010-11-28 Thread Shai Erera (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2779?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12964516#action_12964516 ] Shai Erera commented on LUCENE-2779: I've changed RAMDir to use ConcurrentHashMap and

[jira] Commented: (LUCENE-2779) Use ReadWriteLock in RAMDirectory

2010-11-27 Thread Shai Erera (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2779?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12964500#action_12964500 ] Shai Erera commented on LUCENE-2779: In my app, I need to server ~50 qps on a single

[jira] Commented: (LUCENE-2779) Use ReadWriteLock in RAMDirectory

2010-11-25 Thread Shai Erera (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2779?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12935812#action_12935812 ] Shai Erera commented on LUCENE-2779: Perhaps we can eliminate synchronization entirely

[jira] Commented: (LUCENE-2779) Use ReadWriteLock in RAMDirectory

2010-11-25 Thread Earwin Burrfoot (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2779?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12935813#action_12935813 ] Earwin Burrfoot commented on LUCENE-2779: - Using RWLock is needless. synchronized

[jira] Commented: (LUCENE-2779) Use ReadWriteLock in RAMDirectory

2010-11-25 Thread Earwin Burrfoot (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2779?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12935816#action_12935816 ] Earwin Burrfoot commented on LUCENE-2779: - In fact, uncontended synchronized block