This content has been marked as final.
Show 2 replies
-
1. Re: Creating a YCSB Asynchronous Client using HotRod and Deferred.
nadirx Feb 5, 2015 2:48 PM (in response to naskoos)1 of 1 people found this helpfulThe intention is to use Java 8's CompletableFuture in Infinispan 8 (due out in October).
-
2. Re: Creating a YCSB Asynchronous Client using HotRod.
naskoos Feb 9, 2015 11:38 AM (in response to naskoos)Answering to myself,
Trying to modify the source code to allow higher pool size I found out in the Javadoc of the RemoteCacheManager that I can pass as parameter the pool size and the queue size through the ConfigurationBuilder.
org.infinispan.client.hotrod.configuration.ConfigurationBuilder cb
= new org.infinispan.client.hotrod.configuration.ConfigurationBuilder()
cb.asyncExecutorFactory().addExecutorProperty("infinispan.client.hotrod.default_executor_factory.pool_size", "1000");
cb.asyncExecutorFactory().addExecutorProperty("infinispan.client.hotrod.default_executor_factory.queue_size", "1000000");