Jump to:

547 Posts in 2233 Topics by 238 members

Hosting Requirements

SilverStripe Forums » Hosting Requirements » Anyone using APC PHP Accelerator?

What you need to consider when choosing a hosting provider and plan.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 2782 Views
  • Blackdog
    Avatar
    Community Member
    156 Posts

    Anyone using APC PHP Accelerator? Link to this post

    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.

  • swaiba
    Avatar
    Forum Moderator
    1769 Posts

    Re: Anyone using APC PHP Accelerator? Link to this post

    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.

  • Blackdog
    Avatar
    Community Member
    156 Posts

    Re: Anyone using APC PHP Accelerator? Link to this post

    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?

  • swaiba
    Avatar
    Forum Moderator
    1769 Posts

    Re: Anyone using APC PHP Accelerator? Link to this post

    it's been running on my server for months - nothing negative to report

  • Blackdog
    Avatar
    Community Member
    156 Posts

    Re: Anyone using APC PHP Accelerator? Link to this post

    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!

  • tv
    Avatar
    Community Member
    43 Posts

    Re: Anyone using APC PHP Accelerator? Link to this post

    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?

  • Sean
    Avatar
    Forum Moderator
    921 Posts

    Re: Anyone using APC PHP Accelerator? Link to this post

    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

  • biapar
    Avatar
    Forum Moderator
    435 Posts

    Re: Anyone using APC PHP Accelerator? Link to this post

    I use phpcache on IIS7.5

    2782 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.