[Twisted-Python] What is backlog?

Andreas Kostyrka andreas at kostyrka.org
Tue Apr 1 07:11:11 MDT 2008


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
> >
> >
> 
> 
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: </pipermail/twisted-python/attachments/20080401/fb440edd/attachment.sig>


More information about the Twisted-Python mailing list