[2526] in Kerberos

home help back first fref pref prev next nref lref last post

Re: Scalability issues with Kerberos

daemon@ATHENA.MIT.EDU (Bill Sommerfeld)
Thu Jan 21 20:45:13 1993

Date: Thu, 21 Jan 1993 23:19:02 GMT
From: sommerfeld@apollo.hp.com (Bill Sommerfeld)
To: kerberos@shelby.Stanford.EDU

In article <9301211836.AA14955@shadow.secure.bellcore.com> lunt@CTT.BELLCORE.COM (Steve Lunt) writes:

   Database dumps and loads (via krb_util, which is used by kprop) are
   slow when the database is that big (apparently order n log n).  But
   ticket requests (kinit) and database updates (kadmin and kpasswd) are
   still very fast (apparently order log n).  Also, the ndbm files get
   really big (I think I tested it on a Sun with 10,000 principals, and
   the file was 5 meg in size), if this is a problem on your system.

Note that this is purely a function of the KDC implementation, and
fixing this requires no changes to clients, servers, or the main run
time library.

If you've got a better, more scaleable database (or even a better dbm
implementation -- that's all that kerberos needs), you can drop it in
place on the KDC and use it instead.

If you've got a better replication system, you can drop it in place on
your KDC and use it instead, and won't have to change the clients.

I'm aware of Kerberos v4 implementations have used at least three
different databases:

	ingres	(the old university ingres.  this was too slow and
		 flushed in favor of dbm).
	dbm	(both "dbm classic" and ndbm).
	Apollo registry (this was an internal product which
		was never released)

The database module is eminently replaceable.

				- Bill


					



home help back first fref pref prev next nref lref last post