[nycphp-talk] Using APC to improve performance.
Konstantin Rozinov
krozinov at gmail.com
Tue Mar 31 03:02:28 EDT 2009
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/apc@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 <tom at 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
>
More information about the talk
mailing list