Thanks you

On Tue, Dec 3, 2013 at 6:48 PM, Justin Karneges <[email protected]> wrote:

> On 12/03/2013 04:19 AM, William MARTIN wrote:
> > I have read some mails on the mailing-list about that.
> >
> > What's the actual status of mognrel2-1.9 about that ?
> > Does they have any data flux control to regulate data stream from
> > handler to m2 ? I.E Sending file with size in Go.
> >
> > If yes, does someone have a sample code about that ?
>
> Hi William,
>
> The way you do outbound flow control with m2 is to use the control port,
> and this is the case regardless of version (even 1.9). The only change
> in 1.9 is that you can now specify a different control port per server
> by setting the control_port field on the server objects in the config,
> which is nice if you run multiple m2 instances.
>
> Flow control for uploads is newly possible in 1.9 using acknowledgements
> via zmq. Someday I'd like to look at making outbound flow control work
> this way too, but currently you must use the control port.
>
> For reference, you can check out my m2adapter project, which converts
> m2's protocol to "ZHTTP" (http://rfc.zeromq.org/spec:33). It fully
> handles inbound/outbound flow control as well as HTTP versioning stuff
> (persistence, chunking). For outbound flow control it periodically
> queries the control port.
>    https://github.com/fanout/pushpin/tree/master/m2adapter
>
> Justin
>



-- 
---------------------------------------------------------
William MARTIN
wysman @NoSpAm@ gmail @DoT@ com

Reply via email to