Re: Squid Authorisation with ncsa_auth or LDAP ???

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Tue, 15 Jun 1999 17:58:38 +0000

Heinz Ahrens wrote:

> Can i use ncsa_auth because of performance-reason for 10 000 users ???

It depends on how much memory you can spend on authentication, and how
often the passwords is updated/changed. ncsa_auth caches the while
password list in memory, using a hash for efficient lookups. Squid also
caches sucessful lookups in a splay list to give fast access for the
most frequently used user names.

ncsa_auth performance will degrade if the password file is changed
often. When ncsa_auth detects that the password file is changed it will
reload all paswords which may take quite a bit of time if the list is
huge.

> Can i perhaps use an LDAP server or another database to increase the
> performance ???

If you have frequent password changes then using any database approach
will probably give better performance than ncsa_auth. If passwords are
rarely changed then ncsa_auth will give good performance.

--
Henrik Nordstrom
Spare time Squid hacker
Received on Tue Jun 15 1999 - 11:53:36 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:46:53 MST