Thanks for the pointers Sebastian. I personally miss the xp to develop this but at least I know the problem is not the code I'm using or wrong settings.
On Tuesday, February 7, 2017 at 3:35:34 PM UTC+1, sri wrote: > > There are ways to do this efficiently, but i don't think anyone has ever > written a full implementation before. It > requires a few things to be combined. > > > https://github.com/kraih/mojo/blob/0c79e9a8b50d23d04f6edca6e52d1c179305f3c9/t/mojo/ioloop.t#L219 > > http://mojolicious.org/perldoc/Mojolicious/Guides/Cookbook#Streaming-response > > http://mojolicious.org/perldoc/Mojolicious/Guides/Cookbook#Streaming-request > http://mojolicious.org/perldoc/Mojolicious/Guides/Rendering#Streaming > > It's really a bit tricky, but you can do this right and stream requests > and responses in both directions. The > biggest problem is that you have to mess around with the streams to be > able to handle backpressure and > throttle your reads. > > It would even take me like a day to implement this, so i guess it would be > nice if someone made a > Mojolicious::Plugin::StreamingProxy. > > -- > sebastian > -- You received this message because you are subscribed to the Google Groups "Mojolicious" 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/mojolicious. For more options, visit https://groups.google.com/d/optout.
