Re: [akka-user] Best way to handle large response from Actor

2017-04-27 Thread Viktor Klang
For that kind of "messages" I'd recommend using URLs and using a transport protocol with builtin resumes etc, such as HTTP, FTP etc. On Wed, Apr 26, 2017 at 8:19 PM, Sumanta Dutta wrote: > Hi, we generally use ask pattern to handle request-response between client > and Akka Cluster. The client w

Re: [akka-user] Best way to handle large response from Actor

2017-04-27 Thread Justin du coeur
I don't know that there's a perfect solution to that problem. Personally, I wound up building a rough but functioning streaming system for this purpose, which sets up protocol Actors at both ends to deal with the

[akka-user] Best way to handle large response from Actor

2017-04-27 Thread Sumanta Dutta
Hi, we generally use ask pattern to handle request-response between client and Akka Cluster. The client waits on the Future. We have a need where the response size (~150MB) is too large to fit in one message even after increasing message-frame-size to - maximum-payload-bytes = 5000 byte