apex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "bright chen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (APEXMALHAR-2262) lock on AbstractManagedStateImpl.getValueFromBucketSync is too wide
Date Thu, 22 Sep 2016 18:50:20 GMT

     [ https://issues.apache.org/jira/browse/APEXMALHAR-2262?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

bright chen updated APEXMALHAR-2262:
------------------------------------
    Summary: lock on AbstractManagedStateImpl.getValueFromBucketSync is too wide  (was: lock
on is too AbstractManagedStateImpl.getValueFromBucketSync wide)

> lock on AbstractManagedStateImpl.getValueFromBucketSync is too 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)

Mime
View raw message