[1376] in Kerberos_V5_Development
Re: kdc performance and rcache
daemon@ATHENA.MIT.EDU (Ken Raeburn)
Wed Jul 3 12:16:06 1996
To: "Theodore Y. Ts'o" <tytso@MIT.EDU>
Cc: krbdev@MIT.EDU
From: Ken Raeburn <raeburn@cygnus.com>
Date: 03 Jul 1996 12:15:39 -0400
In-Reply-To: "Theodore Y. Ts'o"'s message of Wed, 3 Jul 1996 00:06:44 -0400
"Theodore Y. Ts'o" <tytso@MIT.EDU> writes:
> Unless the asn1 context is ultimately linked to the krb5 context (as
> opposed to being stored in a static variable), I don't see how it would
> be thread-safe --- or was that what you were planning to do?
Yes, that was the idea. OTOH, as Marc pointed out, the library only
does a half-way job of being thread-safe now, so maybe we should just
add a static cache now and fix it right later when we get around to
fixing everything else.
If we really want to insist on a thread-safe library, maybe we should
demonstrate that there's a use for it. For example, running kdc and
kadmind in two threads in one process, so as to avoid system calls for
locking the database.