[python-ldap] TCP_NO_DELAY

Michael Ströder michael at stroeder.com
Wed Apr 29 19:24:39 CEST 2015


please always stay on the mailing list so other can answer and learn as well.

Gabriel Calin wrote:
> I'm using this library mainly for its support for asynchronous operations.
> Before, I was using the perl Net::LDAP library for synchronous operations.
> With the perl library we were also having performance issues which we only
> solved after setting TCP_NO_DELAY for the socket

Note that unlike python-ldap the pure Perl module Net::LDAP is not based on 
OpenLDAP's libldap.

Therefore a required fix for Net::LDAP is likely not required for python-ldap 
since libldap does all the socket handling.

> (I think it was a problem
> with the sender - the perl library - waiting for ACK from the server but
> the ldap server also waited for more messages to come before sending the
> ACK,

I strongly doubt that's an issue with libldap at all.

Ciao, Michael.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4272 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mail.python.org/pipermail/python-ldap/attachments/20150429/6abd3a25/attachment.bin>

More information about the python-ldap mailing list