Re: [akka-user] TCP Stream and Request Strategy

2015-01-27 Thread Endre Varga
On Tue, Jan 27, 2015 at 1:35 PM, Björn Antonsson bjorn.antons...@typesafe.com wrote: Hi Thomas, There is a recipe for chunking up bytestrings in the stream docs

Re: [akka-user] TCP Stream and Request Strategy

2015-01-27 Thread Endre Varga
Hi Thomas, On Tue, Jan 27, 2015 at 3:32 PM, Thomas Zimmer t...@turtle-entertainment.de wrote: Thank you so much guys! You definitely rock :) I think Björn link was excatly what I was loooking for. Is there a way to influence the demanded chunk-size dynamically? No, the ByteStrings are of

Re: [akka-user] TCP Stream and Request Strategy

2015-01-27 Thread Thomas Zimmer
Thank you so much guys! You definitely rock :) I think Björn link was excatly what I was loooking for. Is there a way to influence the demanded chunk-size dynamically? Regards, Thomas On Tuesday, January 27, 2015 at 1:42:15 PM UTC+1, drewhk wrote: On Tue, Jan 27, 2015 at 1:35 PM, Björn

Re: [akka-user] TCP Stream and Request Strategy

2015-01-27 Thread Björn Antonsson
Hi Thomas, There is a recipe for chunking up bytestrings in the stream docs  http://doc.akka.io/docs/akka-stream-and-http-experimental/1.0-M2/scala/stream-cookbook.html#Chunking_up_a_stream_of_ByteStrings_into_limited_size_ByteStrings Maybe you could use that as a starting point to chunk up the