[livejournal] r16527: Added hack to load subscripitions from D...

Apr 12, 2010 10:55


Committer: vsukhanovAdded hack to load subscripitions from DB slave

U trunk/cgi-bin/LJ/Event.pm
diff )

vadvs, livejournal, pm

Leave a comment

Comments 2

I'll admit my LJ codebase knowledge is 5+ years out of date halkeye April 13 2010, 05:02:02 UTC
Would the require statement not cause a new module to be loaded, and then unshare memory between all the apache nodes? AFAIK Anything loaded / changed after apache forks is not shared between processes and increases memory footprint.

Reply

Re: I'll admit my LJ codebase knowledge is 5+ years out of date vadvs April 13 2010, 12:29:20 UTC
Should we share this module between all apache processes unconditionally? This code is called rather rare and probability that it would be loaded twice on the same server simultaneously very small.

Reply


Leave a comment

Up