You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by GitBox <gi...@apache.org> on 2018/01/25 04:45:30 UTC

[GitHub] keith-turner opened a new pull request #365: ACCUMULO-4779 Avoid locks in ZooCache when data in cache

keith-turner opened a new pull request #365: ACCUMULO-4779 Avoid locks in ZooCache when data in cache
URL: https://github.com/apache/accumulo/pull/365
 
 
   ZooCache was using read and write locks.  For the case where lots
   of threads were accessing data present in the cache the read locks
   were really slowing things down.  This commit switches to immutable
   copies of all the data present in the cache which require no locks
   to access.  When the cache changes the immutable copies are
   regenerated and then made available.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services