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 = 50000000 bytes
netty.tcp {
message-frame-size = 50000000b
send-buffer-size = 50000000b
receive-buffer-size = 50000000b
maximum-frame-size = 50000000b
}
We don't like keep increasing the above limits. So one possibility is to
break the response in small chunks, but then how to handle on the Future
side using the ask pattern. The other possibility may be to use GraphStage
between Actors to stream the response back. Is that a viable solution? Is
there any example out there?
Thanks,
Sumanta
--
>>>>>>>>>> Read the docs: http://akka.io/docs/
>>>>>>>>>> Check the FAQ:
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
---
You received this message because you are subscribed to the Google Groups "Akka
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.