Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

barbie (2653)

barbie
  reversethis-{ku. ... m} {ta} {eibrab}
http://barbie.missbarbell.co.uk/

Leader of Birmingham.pm [pm.org] and a CPAN author [cpan.org]. Co-organised YAPC::Europe in 2006 and the 2009 QA Hackathon, responsible for the YAPC Conference Surveys [yapc-surveys.org] and the QA Hackathon [qa-hackathon.org] websites. Also the current caretaker for the CPAN Testers websites and data stores.

If you really want to find out more, buy me a Guinness ;)

Links:
Memoirs of a Roadie [missbarbell.co.uk]
[pm.org]
CPAN Testers Reports [cpantesters.org]
YAPC Conference Surveys [yapc-surveys.org]
QA Hackathon [qa-hackathon.org]

Journal of barbie (2653)

Wednesday October 16, 2002
11:26 AM

mod_perl Caching

[ #8409 ]
It has just occurred to me that my problem with Storable on Win32 boxes is a bit of a misnomer. Win32 implementations of Apache only handle one child thread. Therefore why do I need to worry about the Storable module, when I can write a simple caching module that just doesn't clear itself unless the server gets restarted. I'd like to blame it on the alcohol, but I haven't had any since the weekend!

However, the learning experience has been good as I managed to find some good references and got alot further through my mod_perl/Apache books than I wouldn't have otherwise. I also discovered some extra Apache:: modules that I might to play with too.

We recently did a load test, which went well. With 15 simultaneous logins (5 cgi requests & 3 html requests per login ... we have frames), it took over 3 minutes running as a normal webserver. Running under mod_perl, the same 15 logins took 27 seconds. The managers were suitably impressed.

Once I get this caching things sorted, and the authentication out of the core, it'll fly like an eagle ;)

And I've nearly finished updating DanDan's site with new code and new images. More soon...

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • "Win32 implementations of Apache only handle one child thread."

    Is that still true with Apache 2.0? I know that 1.3 serialized all requests, but IIRC that changed with the new version.
    • It's v1.3.24. I've tried v2.0, but it kept crashing, so gave up. Admittedly that was a few months after v2.0 was released so might be more stable now.

      My problem with Storable is that it requires C compilation and we don't have any C compilers on the win32 boxes. Until ActiveState release a more recent version, I'm a bit stuck.