You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apex.apache.org by "bright chen (JIRA)" <ji...@apache.org> on 2016/09/22 18:30:20 UTC
[jira] [Created] (APEXMALHAR-2262) lock on is too
AbstractManagedStateImpl.getValueFromBucketSync wide
bright chen created APEXMALHAR-2262:
---------------------------------------
Summary: lock on is too AbstractManagedStateImpl.getValueFromBucketSync wide
Key: APEXMALHAR-2262
URL: https://issues.apache.org/jira/browse/APEXMALHAR-2262
Project: Apache Apex Malhar
Issue Type: Improvement
Reporter: bright chen
Assignee: bright chen
The Managed State used a lot of lock, which could impact a lot on performance.
AbstractManagedStateImpl.getValueFromBucketSync(long, long, Slice) lock the buck to get value, But if the value still in memory, the lock is not necessary as flash is ConcurrentMap.
probably AbstractManagedStateImpl should only lock when add/remove bucket. And bucket handle read/write lock inside bucket
-
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)