I am caching the rest response in couchbase. The couchbase cluster has two couchbase nodes .
Read and write is taking time due to waiting threads. Is there any way to resolve this ? I am running performance load test where this rest gets called parallelly .The couchbase node is on remote host. So read and write are from remote host. Is it good to have couchbase nodes on remote host instead on the same host where my rest is running ?
com.digital.infra.services.DigitalServiceBase:execute:61 (method time = 0 ms, total time = 6372 ms)
Spring Bean - digitalCesCommandExecutor:execute:28 (method time = 0 ms, total time = 6372 ms)
com.infra.services.DigitalCommandExecutorBase:execute:50 (method time = 0 ms, total time = 6372 ms)
Spring Bean - implRetrieveTemplateHarnessService:readFromCache:106 (method time = 0 ms, total time = 2507 ms)
Spring Bean - cacheDependencyHandler:getOutputFromRemoteCache:217 (method time = 0 ms, total time = 2507 ms)
Spring Bean - remoteCacheFacade:getWritableData:26 (method time = 0 ms, total time = 2507 ms)
com.ls.server.core.cache.RemoteCacheProvider:get:386 (method time = 0 ms, total time = 2507 ms)
net.spy.memcached.MemcachedClient:get:1018 (method time = 0 ms, total time = 2499 ms)
net.spy.memcached.MemcachedClient:get:997 (method time = 0 ms, total time = 2499 ms)
net.spy.memcached.internal.GetFuture:get:62 (method time = 0 ms, total time = 2499 ms)
net.spy.memcached.internal.OperationFuture:get:87 (method time = 0 ms, total time = 2499 ms)
java.util.concurrent.locks.LockSupport:parkNanos:215 (method time = 2499 ms, total time = 2499 ms)
Spring Bean - implRetrieveTemplateHarnessService:outputMapping:127 (method time = 0 ms, total time = 2514 ms)
Spring Bean - implRetrieveTemplateHarnessService:saveInCache:139 (method time = 0 ms, total time = 2514 ms)
Spring Bean - cacheDependencyHandler:storeDataInRemoteCache:186 (method time = 0 ms, total time = 2514 ms)
Spring Bean - cacheDependencyHandler:storeDataInRemoteCache:200 (method time = 0 ms, total time = 2514 ms)
Spring Bean - cacheDependencyHandler:storeWritableData:64 (method time = 0 ms, total time = 2514 ms)
Spring Bean - cacheDependencyHandler:storeWritableData:82 (method time = 0 ms, total time = 2514 ms)
Spring Bean - remoteCacheFacade:storeWritableData:49 (method time = 0 ms, total time = 2514 ms)
com.ls.server.core.cache.RemoteCacheProvider:put:406 (method time = 0 ms, total time = 2514 ms)
Spring Bean - remoteCacheProvider:put:124 (method time = 0 ms, total time = 2514 ms)
com.ls.server.core.cache.RemoteCacheProvider:put:435 (method time = 0 ms, total time = 2514 ms)
net.spy.memcached.internal.OperationFuture:get:79 (method time = 0 ms, total time = 2507 ms)
net.spy.memcached.internal.OperationFuture:get:87 (method time = 0 ms, total time = 2507 ms)
java.util.concurrent.locks.LockSupport:parkNanos:215 (method time = 2507 ms, total time = 2507 ms)