Page 3 of 3 FirstFirst 123
Results 21 to 26 of 26

Thread: PHP Accelerators....

  1. #21
    Jacob's Avatar
    Jacob is offline Senior Member
    Join Date
    Oct 2004
    Posts
    331

    Default Re: PHP Accelerators....

    There are a lot of things that can be done. Most of them are not terribly easy.

    First, we have spent a lot of time on Sugar 5, boosting client side performance. Most of the work in the login is not actually on the server side, it is actually data being sent over the network to the client.

    Boosting client side cache can help. PHP accelerators will not make a significant difference for this use case.

    If you can offload static content out of Apache, you can see a big speedup. The system is getting or checking for latest on a bunch of files, images, CSS, javascript, ... Static content servers will serve up that content much faster than a general web engine.

    Make sure HTTP compression is turned on on the web server.
    You can also minify the javascript to remove comments and whitespace. This is a safe operation that will greatly reduce the size of the transmitted data. Sugar 5 includes this OOB and has a script that can be applied to the files from older versions.

    Another great find is FasterFox if your clients happen to be using FireFox. This application extension greatly boosts the caching capabilities of FireFox.

    Jacob

  2. #22
    smueller72 is offline Sugar Community Member
    Join Date
    Jan 2005
    Posts
    125

    Default Re: PHP Accelerators....

    Thanks again for the additional info.

    We'll try some of these out. We've thought out the offloading of the static content out of Apache and have investigated a few options for doing so. Any 'best practices' there or anything you all are doing with Sugar OnDemand or any success stories you are aware of?

  3. #23
    Jacob's Avatar
    Jacob is offline Senior Member
    Join Date
    Oct 2004
    Posts
    331

    Default Re: PHP Accelerators....

    We are shortcutting the process and leveraging a hardware load balancer that offers static content caching.

  4. #24
    ogardarsson is offline Junior Member
    Join Date
    Sep 2006
    Posts
    2

    Default Re: PHP Accelerators....

    I just installed SugarCRM 5 on two servers (for comparisons). One server is SuSE 10 - 64 bit on an IBM P5 virtual machine and the other is a more comon intel box running SuSE 10 32 bit. Both ran SugarCRM 5 just fine although the P5 is much faster. Then I installed Zend optimizer on the intel box but SugarCRM will simply not function with it. I can remove the zend entries from the php.ini file and get it going again but naturally I want to see better performance. Any ideas on what could be the problem between Sugar and Zend?

  5. #25
    ogardarsson is offline Junior Member
    Join Date
    Sep 2006
    Posts
    2

    Default Re: PHP Accelerators....

    Quote Originally Posted by ogardarsson
    I just installed SugarCRM 5 on two servers (for comparisons). One server is SuSE 10 - 64 bit on an IBM P5 virtual machine and the other is a more comon intel box running SuSE 10 32 bit. Both ran SugarCRM 5 just fine although the P5 is much faster. Then I installed Zend optimizer on the intel box but SugarCRM will simply not function with it. I can remove the zend entries from the php.ini file and get it going again but naturally I want to see better performance. Any ideas on what could be the problem between Sugar and Zend?
    Ignore my last message on this. SugarCRM is not the problem, Zend is not correctly set up.

  6. #26
    Jacob's Avatar
    Jacob is offline Senior Member
    Join Date
    Oct 2004
    Posts
    331

    Default Re: PHP Accelerators....

    Let us know how this goes.

    One thing to keep in mind. Zend Optimizer takes the PHP generated op codes and speeds them up. It does not provide a cache, or remember the op codes between round trips. You should get a much better performance boost out of installing a full fledged op code cache with Sugar external cache support. APC and Zend Platform are the two currently supported ones.

    More details are here:
    http://www.sugarcrm.com/wiki/index.p...d_Accelerators

    Jacob

    Jacob

Page 3 of 3 FirstFirst 123

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •