"Ralf S. Engelschall" <[EMAIL PROTECTED]> writes:
> On Tue, Jun 22, 1999, [EMAIL PROTECTED] wrote:
>
> > Yup. And that's why I wish Ralf hadn't taken it out of mod_ssl. A threaded
> > gcache with an in memory cache would be cool.
>
> There were good reasons why I kicked it out in the past. But the suggestion
> to reintegrate it is ok, of course. The hint of threading actually makes it
> interesting again. I'm currently finishing my new multithreading library NPS
> (see http://www.engelschall.com/sw/nps/ when you're interested in my latest
> coding) and you're right: gcache could benefit a little from threading, too.
> But when I reintegrate gcache again for mod_ssl 2.4.0 I'll do it different: It
> will not again be spawned and driven by Apache itself. That has too much
> problems and isn't stable enough for a reliable service IMHO.
I'm pleased to hear that you have plans to re-integrate gcache, or rather
something similar, back into mod_ssl.
>
> But we could just create a "SSLSessionCache gcache://hostname:port" which can
> be added _IN ADDITION_ to a standard SSLSessioCache directive (the same way
> SSLCertificateFile is allowed multiple times in mod_ssl). Then mod_ssl before
> failing to lookup sessions connects to an externally running gcache. This has
> to be started before manually, of course. And for speedup reasons this gcache
> could use threads, yes.
What about maintaining a persistent connection to a gcache server on a
per-child or per-thread basis within Apache?
And possibly having a list of gcache servers to connect to for
fail-over?
And possibly connecting to a "load-balancer" which then tells mod_ssl which
gcache server to connect to?
We have a real need for such a beast and would love to help out.
About NPS, does this library "work" on multi-processor machines? That is,
are NPS threads bound to a single CPU?
-Tom
--
Tom Vaughan <tvaughan at aventail dot com>
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]