Author: tomekr
Date: Wed Nov  2 12:41:39 2016
New Revision: 1767661

URL: http://svn.apache.org/viewvc?rev=1767661&view=rev
Log:
OAK-4882: Bottleneck in the asynchronous persistent cache

Extended the async queue to 16*1024 entries.

Modified:
    
jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/document/persistentCache/async/CacheActionDispatcher.java

Modified: 
jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/document/persistentCache/async/CacheActionDispatcher.java
URL: 
http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/document/persistentCache/async/CacheActionDispatcher.java?rev=1767661&r1=1767660&r2=1767661&view=diff
==============================================================================
--- 
jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/document/persistentCache/async/CacheActionDispatcher.java
 (original)
+++ 
jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/document/persistentCache/async/CacheActionDispatcher.java
 Wed Nov  2 12:41:39 2016
@@ -35,7 +35,7 @@ public class CacheActionDispatcher imple
     /**
      * What's the length of the queue.
      */
-    static final int MAX_SIZE = 2048;
+    static final int MAX_SIZE = 16 * 1024;
 
     final BlockingQueue<CacheAction<?, ?>> queue = new 
ArrayBlockingQueue<CacheAction<?, ?>>(MAX_SIZE);
 


Reply via email to