On Tue, Mar 31, 2009 at 3:02 AM, Konstantin Rozinov <krozi...@gmail.com> wrote: > Thanks for the tips Che and Tom. I will try the debugging tools to > see where the bottlenecks are. I've got apc.stat set to 0, but the > largest # of includes in the application is only about 8 in some > files, so I wouldn't expect it to make that much of difference, but > every little bit counts :) > > I found these presentations, which have some good pointers, but lack a > lot of details. Sample code or pseudo-code would've been nice to see: > http://tekrat.com/talks_files/openweb2008/a...@facebook.pdf > http://www.scribd.com/doc/4069180/Caching-Performance-Lessons-from-Facebook > > Konstantin > > > > > On Tue, Mar 31, 2009 at 12:49 AM, Tom Melendez <t...@supertom.com> wrote: >>> 4. Any links to really good APC howtos or tutorials would be greatly >>> appreciated! >>> >> >> Not at all what you asked, but.... >> >> If you're using absolute paths in your require/include files and you >> turn this off you should see gains: >> >> http://us.php.net/manual/en/apc.configuration.php#ini.apc.stat >> >> In setting it to zero, you tell it not to stat the file. If you are >> using some beefy framework with lots of includes this can be a big >> win. >> >> Leave it set to 1 for development though. >> >> Thanks, >> >> Tom >> http://www.liphp.org >> _______________________________________________ >> New York PHP User Group Community Talk Mailing List >> http://lists.nyphp.org/mailman/listinfo/talk >> >> http://www.nyphp.org/show_participation.php >> > _______________________________________________ > New York PHP User Group Community Talk Mailing List > http://lists.nyphp.org/mailman/listinfo/talk > > http://www.nyphp.org/show_participation.php >
Hi, The only pointer I can give might seem obvious if you've read all the documentation. I wasted maybe over a half hour on this one so it may help. You can only store single-element variables, so you'll need to flatten or serialize any arrays before storing them. -jesse _______________________________________________ New York PHP User Group Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk http://www.nyphp.org/show_participation.php