3 Replies Latest reply on Feb 5, 2015 2:45 PM by Tristan Tarrant

    Is streaming an option with HotRod?

    Will Smith Newbie

      I have large String values (~100MB) in JDG and don't want to read it all into my client app's memory at any given time if possible.


      So is it possible to retrieve a value from data grid as a stream rather than as a String with the HotRod client?

       

      Using REST, I've implemented get() to return an InputStream ...

       

      HttpURLConnection.getInputStream()

       

      .. and then read in chunks from the stream.

       

      But I'd like to do the same with HotRod; since HotRod seems to be the recommended client for better performance, reliability, scalability etc.

       

      Would appreciate any inputs on this.

       

      Thanks!!!

      Bill