I thought I'd note this, as others may find it interesting.

Stanford University has a white pages service at <http://stanford.who.stanford.edu>. I run and maintain this service at this time. For years, I've used Net::LDAPapi as the perl module to access the directory to query the information out and then display it. Last Saturday, I upgraded the application, and switched to using Net::LDAP instead.

This morning after folks returned to work, the difference became very apparent. The load went from the usual 0-1 to 50-90. The other 3 applications running on the system became unusable. Searches that used to take seconds would now take up to 10 minutes or longer. After a bit of work, I got everything switched back to using Net::LDAPapi, and the service is now usable again.

I'll note I was using Net::LDAP version 0.33, the latest available from CPAN (although it is over a year old now). Just some food for thought on the difference between using C Api's and doing everything directly in perl.

--Quanah

--
Quanah Gibson-Mount
Principal Software Developer
ITS/Shared Application Services
Stanford University
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html

Reply via email to