[Cologne-pm] shared vars mit mod_perl

Michael Lamertz mike at lamertz.net
Tue Apr 3 12:13:10 PDT 2007


Ho,

vorneweg: es heisst "Children", nicht "Childs".  >:->

Option a: Shared memory
Option b: Caching

b. halte ich erstmal fuer leichter.  Lies das Ding 'rein, schreib's mit
Cache::Cache weg und bei jedem Zugriff checkst Du ob das Ding neuer ist
und ziehst es ggf. neu 'rein.

Wenn das Einlesen des XML so lange dauert, solltest Du den Schritt vom
XML zum Cache-Objekt evtl. eher in 'nem Cron-job machen, statt im
mod_perl.

-- 
                    http://www.gulp.de/profil/mlamertz.html

Michael Lamertz                        |     +49 2234 204947 / +49 171 6900 310
Sandstr. 122                           |                       mike at lamertz.net
50226 Frechen                          |                 http://www.lamertz.net
Germany                                |               http://www.perl-ronin.de 


More information about the Cologne-pm mailing list