Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
Description
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