perl-modperl-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug MacEachern <do...@pobox.com>
Subject Re: mod_perl commerce
Date Thu, 09 Dec 1999 05:08:36 GMT
Hi Brennan, thanks for sharing this, glad mod_perl could help!

On Thu, 2 Dec 1999, Brennan W Stehling wrote:

> I recently worked on a site which uses and relies on the speed that
> mod_perl offers.
> 
> http://www.figis.com/ (not sure if you can list this URL)
> 
> I no longer work at that web development compnay which created the site,
> but I created most of the system.  The dynamic content is generated out of
> an mSQL database using DBI and some content is cached in a global memory
> hash.  I always use strict so I had to "use vars" to make this hash
> global.
> 
> This hash has three elements: a key, timestamp and content.
> 
> After a hard-coded amount of time the content would expired and when that
> key is requested the content must be generated from the database again.
> If the content is not expired no database handle is created and the text
> in the hash is simply returned.  The timeout can be throttled to alter
> performance.  A nice feature is that the more busy the site is the better
> the caching performs since it is more likely that the wanted content is
> already generated and still current.
> 
> This could not have been done without mod_perl.
> 
> Other parts of the site use mod_perl, but simply to speed up performance
> which was desperately needed.
> 
> Brennan Stehling - web developer and sys admin
> projects: www.onmilwaukee.com | www.sncalumni.com
> 
> fortune:
> Paul's Law:
> 	You can't fall off the floor.
> 


Mime
View raw message