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

Add new HR protocol implementation for stream commands

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 15.1.0.Dev04
    • None
    • Hot Rod
    • None

      We have the StreamingRemoteCache interface which handles reading and writing to and from Output and Input streams. This was implemented in a way that required the client to reserve a client channel while this was processing.

      Unfortunately, with the rewrite for https://issues.redhat.com/browse/ISPN-14868 this way of operating cannot exist any longer as it would mean you cannot process any other operations against that server until the operation is complete.

      Instead we need to add new operations that send chunks of data to/from the server so the client cannot send other commands in parallel. This requires new HR operations and some sort of StreamingManager on the server side to track in flight stream commands akin to the IterationManager. This therefore needs to ensure it cleans up old calls over time and other measures to protect the server.

              wburns@redhat.com Will Burns
              wburns@redhat.com Will Burns
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: