dcsimg
Linux Today: Linux News On Internet Time.




More on LinuxToday


Apache Today: Improving mod_perl Driven Site's Performance -- Part V: Sharing Memory (continued)

Jan 24, 2001, 20:30 (0 Talkback[s])
(Other stories by Stas Bekman)

WEBINAR:
On-Demand

Re-Imagining Linux Platforms to Meet the Needs of Cloud Service Providers


"We have just learned that it's important to preload the modules and scripts at the server startup. It turns out that it's not enough for some modules and you have to prerun their initialization code to get more memory pages shared. Basically you will find an information about specific modules in their respective manpages. I will present a few examples of widely used modules where the code can be initialized."

"... You probably know already that under mod_perl you should use the Apache::DBI module to get the connection persistence, unless you open a separate connection for each user -- in this case you should not use this module. Apache::DBI automatically loads DBI and overrides some of its methods, so you should continue coding like there is only a DBI module."

Complete Story

Related Stories: