517 Posts in 279 Topics by 221 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1957 Views |
-
Anyone using APC PHP Accelerator?

26 April 2011 at 10:36pm
Hi All,
Just wanted to see if anyone is using APC on a live site and if it has any adverse effects on Silverstripe?
With other people reporting errors with xcache and SS email headers I thought it might be safer to ask first.
thanks.
-
Re: Anyone using APC PHP Accelerator?

27 April 2011 at 7:40am Last edited: 27 April 2011 7:41am
APC is so good it's going to be included in PHP6 (so I've heard) and it was recommend as the best one, also turn on mod_deflate too. Should mention it's been running on my server for months - nothing negative to report.
-
Re: Anyone using APC PHP Accelerator?

27 April 2011 at 3:09pm
I have been using mod_deflate and htacces file caching rules which have helped overall site speed.
My concern has shifted lately with a site we host which is attracting upward of 3000 visits a day. This is putting a large amount of load on apache and I either need to look at putting them on their own vps or install something to help reduce the load.
Just to confirm, you are running APC on your server?
-
Re: Anyone using APC PHP Accelerator?

27 April 2011 at 8:00pm
it's been running on my server for months - nothing negative to report
-
Re: Anyone using APC PHP Accelerator?

28 April 2011 at 1:15am
I wasn't sure if you were talking about mod_deflate.
I installed APC and there is definately a great gain to be made using it.
Thanks!
-
Re: Anyone using APC PHP Accelerator?

14 August 2011 at 1:23am
What kind of requests per_second are you guys seeing with APC installed?
I have APC installed on my Media Temple 3.5 dv server (1 GB RAM) with shared memory set to 100M. I also have partial caching in place (which I have tested and is working) with SS_Cache::pick_back_end set to use APC.
Using ap bench with a concurrency of 10, I am only seeing 6 to 7 requests pre second. I am new to server optimization, but isn't this really low?
Any thoughts on what I might be doing wrong or what I can do to increase my requests_per_second?
-
Re: Anyone using APC PHP Accelerator?

5 September 2011 at 11:37am
If you're in dev mode on the site, you can add ?debug_profile=1 to the URL, e.g. "mysite.com/about-us?debug_profile=1".
This will give you a list of times it took to render page components. While it's not the best profiler around, it does give you a good indication what parts of the page template are slow, and from there you can apply partial caching where appropriate.
Hope that helps.
Sean
| 1957 Views | ||
|
Page:
1
|
Go to Top |



