Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-8339

Cache Stream response should send asynchronously

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      When a cache stream completes a request it sends that back to the requestor. Currently this is using RpcManager.invokeRemotely such as [1]. This is causing the remote nodes to use a remote thread to wait for the response to process. We should instead send this asynchronously so we don't have to keep the remote thread used. This can cause exhaustion if you have too many requests since these responses are also processed on the remote thread pool.

      [1] https://github.com/infinispan/infinispan/blob/master/core/src/main/java/org/infinispan/stream/impl/LocalStreamManagerImpl.java#L297

              wburns@redhat.com Will Burns
              wburns@redhat.com Will Burns
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: