| Alvar Freude 2007-07-04, 7:21 pm |
| Hi,
-- Eric Rybski <rybskej@yahoo.com> wrote:
> If you are using mod_perl 1.0, or mod_perl 2.0 with the 'prefork' MPM,
> I have successfully worked with a few companies to integrate forks into
> apache httpd instances. Additionally, if you use the forks::BerkeleyDB
> add-on, you'll get excellent shared variable access performance (which
> sounds like a requirement for your 100MB of data).
hmmm, for a typical page I need between 50 and 1000 hash lookups. And
sometimes more and sometimes fewer. But I'll make some tests: if this is
fast enough, it seems to be a very good solution The best would be *real*
threads with really shared variables, but this is another topic ;-)
> I haven't yet posted Apache::forks to CPAN, but if you're interested in
> evaluating it, I'll be happy to e-mail you a stable pre-release that
> works with forks 0.23 and forks::BerkeleyDB 0.05.
OK -- first I'll do some benchmarks to test if it might work.
I think it would be the easyest and best way to do it, if fast enough!
Thanks && Ciao
Alvar
--
** Alvar C.H. Freude, http://alvar.a-blast.org/
**_http://www.assoziations-blaster.de/
** http://www.wen-waehlen.de/
** http://odem.org/
|