Hi All, I'm having good fun with akka streams, and I while tinkering with them a few questions have come up.
How best to implement length-based tcp framing? With a StatefulStage that defragments the incoming byte strings? How can I just send data from the client to the server without returning a response? The client's connection flow can run with an OnCompleteSink to learn when the connection is closed, but what should the server's connection flow do? I'm not sure how to express that there is no response (i.e. that I'm not writing anything to the 'output stream'). What's the 'typical' stream client/server setup for request/response style interactions? Without streams I'd pool connections on the client side, and use one per request/response cycle. But I'm not sure that will give me proper backpressure, unless I somehow merge the connections' flows on the server side. Should I multiplex all requests and responses over a single tcp connection? Cheers, Peter -- >>>>>>>>>> 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 http://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.
