Re: [akka-user] End-to-End Reactive Streaming RESTful service (a.k.a. Back-Pressure over HTTP)

2015-05-20 Thread Konrad Malawski
The back pressure is propagated to the client thanks to TCPs built in mechanisms for this - on the server side we simply do not read from the socket until demand is available, which causes the back pressure to be propagated properly. Konrad,  So if we are *not* using a congestion control awar

Re: [akka-user] End-to-End Reactive Streaming RESTful service (a.k.a. Back-Pressure over HTTP)

2015-05-20 Thread Matteo De Martino
Thanks very much Konrad! Very interesting videos; I will try experimenting more now. Do you want to post you answer on SO as well? I originally posted it there... http://stackoverflow.com/questions/30298972/end-to-end-reactive-streaming-restful-service-a-k-a-back-pressure-over-http Thanks! Matt

Re: [akka-user] End-to-End Reactive Streaming RESTful service (a.k.a. Back-Pressure over HTTP)

2015-05-18 Thread Soumya Simanta
> > > > The back pressure is propagated to the client thanks to TCPs built in > mechanisms for this - on the server side we simply do not read from the > socket > until demand is available, which causes the back pressure to be propagated > properly. > > Konrad, So if we are *not* using a cong

Re: [akka-user] End-to-End Reactive Streaming RESTful service (a.k.a. Back-Pressure over HTTP)

2015-05-18 Thread Konrad Malawski
Hi there Matteo, You’ve arrived in the right place to ask Akka questions :-) There are two talks I’m aware of which show a demo how the backpressure mechanism really works when working with http. 1) One is Roland Kuhn’s talk on ScalaDays SF 2015:  https://www.parleys.com/tutorial/akka-http-reacti

[akka-user] End-to-End Reactive Streaming RESTful service (a.k.a. Back-Pressure over HTTP)

2015-05-18 Thread Matteo De Martino
I have been trying to clarify this question online for a while without success, so I will try to ask it here. I would like to find some resource or example where it shows how I can build an end-to-end fully back-pressured REST service + client. What I mean is that I would like to see that, gi