Questions and Answers

How do I collect points?

  • +4
    Chosen as best answer
  • +1
    Posted answer
  • +1
    Posted question
  • +1
    Thumb up
  • -1
    Thumb down
10

by SunFlower in General about August 13, 2011 open - report

Speed up SocialEngine

From time to time we receive notifications about too much CPU usage and too many database connections. We use a dedicate server from godaddy. Hosting support blames on script (as usual). Any advices?

Answers: 7  •  Score 1  •  Views: 5109

7 Answers
Browse by
  • 395

    by Kapil Jain about December 25, 2011

    You can try to follow the practices as suggested in these articles:

     

    http://www.ipragmatech.com/increase-performance-socialengine-memcache-apc-xcache.html

    http://www.ipragmatech.com/socialengine-performance-nginx-apache.html

     

    If you need professional help with speedup then we can help you.

     

    Cheers,

    Kapil

    • Score: 0
  • 16

    by Jazz Man about November 2, 2011

    I still think the issue has to do with the SE core. They made some speed improvements on 4.1.7 (if I remember correctly) and I noticed a bit of speed improvement on my site, so the core has to be improved first in my opinion. Nontheless, here is an idea that I've put in place ( I outsourced it). You can use NginX on the front end and Apache on the back end with APC installed (or eAccellerator). NginX would listen to your site IP while Apache listens to localhost. I've tried this on a VPS and there is somewhat noticeable improvement. You can easily have it done by posting it on a freelancing site. Now, if you really wanted to go big, you could have NginX on your front server, Apache on your application server (as above), a separate database server and another Memcached server (at least that's my plan). I hope this can help someone. Don't ask me how it's done, I had to outsource remember :)
    • Score: 0
    2 comments
    • Don Garcia
      by Don Garcia
      November 14, 2011

      Hi Jazz Man, What was the cost for the outsourcing and hosting for the solution you put in place? Have you derived any pre/post metrics that show performance improvements? Did you get estimates for the bigger solution? Also, how large is your user base? T...  more

    • Clive Rudd
      by Clive Rudd
      February 18, 2012

      The guys at iPragmatech did just that for my network and it improved scalability and stability almost 200%

  • 5

    by Fajar Muhammad about October 23, 2011

    Xcache truly fast....it utilizes all of ur CPU but unfortunately i put it in my site and took it off for unstablility resons :(
    • Score: 0
  • 113

    by Eugene about August 22, 2011

    I good idea will be to choose your plugins carefully. If you have 20+ plugins installed from different vendors - don't expect any speed-up tips to help you. Also check theme you are choosing for your community. Here is a good tool to compare themes http://gtmetrix.com
    • Score: 0
  • 1

    by Lex Frost about August 18, 2011

    What OS is your server running, if you are on Linux, I would suggest installing APC ... I use APC on all my servers and it increases the speed on a heavy loaded server by a good amount. Just with the Base install of SE, my server crawls with 30 concurrent users on it. With APC, it functions as normal. APC "caches" the already compiled PHP scripts so that your server does not need to compile the PHP script with every request.
    • Score: 0
    6 comments
    • The Meister Glenn
      by The Meister Glenn
      August 19, 2011

      Have you ever tried installing Varnish?

    • Nick
      by Nick
      August 22, 2011

      @The Meister Glen Could you share your experience with Varnish in a separate reply or questions? That's really interesting. For example, I've never heard of it before.

    • The Meister Glenn
      by The Meister Glenn
      August 29, 2011

      I tried setting up Varnish but couldnt get up a proper way to run it - there's a cPanel plugin but its not freeware (although there's a free trial)

    • Don Garcia
      by Don Garcia
      November 14, 2011

      Hi Lex, I'm new...What is APC? Where can I learn more? Thank you

  • 400

    by Nick about August 18, 2011

    Here is one of solutions - enable compression on your server Add following lines to .htaccess (or better contact your hosting provider for this) zlib.output_compression = On zlib.output_compression_level = (7)
    • Score: 0
  • 113

    by Eugene about August 13, 2011

    To start here is a link for SocialEngine4 hosting suggestions http://socialenginecamp.com/question/view/4/1/hosting-for-social-engine-4
You must login to post an answer.