You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kylin.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2018/06/19 10:03:00 UTC

[jira] [Created] (KYLIN-3417) Consider replacing ReentrantReadWriteLock with StampedLock

Ted Yu created KYLIN-3417:
-----------------------------

             Summary: Consider replacing ReentrantReadWriteLock with StampedLock
                 Key: KYLIN-3417
                 URL: https://issues.apache.org/jira/browse/KYLIN-3417
             Project: Kylin
          Issue Type: Improvement
            Reporter: Ted Yu


ReentrantReadWriteLock's are only the right solution when there is long hold time due to expensive I/O.

It is expensive for readers.

We should see if the lighter {{StampedLock}} can be used instead.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)