[Twisted-Python] What is backlog?

Pavel pbastov at gmail.com
Tue Apr 1 21:48:38 MDT 2008


Thanks anyway :)

On Tue, Apr 1, 2008 at 7:11 PM, Andreas Kostyrka <andreas at kostyrka.org> wrote:
> Benchmark/Test/Google? Sorry, no idea ;)
>
>  Andreas
>
>  Am Dienstag, den 01.04.2008, 16:22 +0600 schrieb Pavel:
>
>
> > Thanks for the info.
>  >
>  > Do you have any ideas on what value to use under small, medium, and high load?
>  >
>  > On Tue, Apr 1, 2008 at 4:05 PM, Andreas Kostyrka <andreas at kostyrka.org> wrote:
>  > > Just guessing it's the parameter that gets passed to the listen system
>  > >  call. And that again tells the kernel how many connections to allow to
>  > >  backlog.
>  > >
>  > >  Citing the listen manpage on Linux:
>  > >
>  > >        The  backlog  argument  defines  the  maximum length to which the
>  > >  queue of pending connections for sockd may grow.  If a connection
>  > >  request arrives when the queue is full, the client may receive an
>  > >        error with an indication of ECONNREFUSED or, if the underlying
>  > >  protocol supports retransmission, the request may be ignored so that a
>  > >  later reattempt at connection succeeds.
>  > >
>  > >  Andreas
>  > >
>  > >
>  > > _______________________________________________
>  > >  Twisted-Python mailing list
>  > >  Twisted-Python at twistedmatrix.com
>  > >  http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>  > >
>  > >
>  >
>  >
>  >
>
> _______________________________________________
>  Twisted-Python mailing list
>  Twisted-Python at twistedmatrix.com
>  http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>
>



-- 
Good luck,

Pavel Bastov
xooChat Team Leader
http://www.xoochat.com/




More information about the Twisted-Python mailing list