Performance optimization tips for SocialEngine and Phpfox in 2017

Performance optimization for SocialEngine and PhpfoxPerformance optimization for SocialEngine and Phpfox

Are you fed up of performance issues on your website? Try these performance optimization tips right into the hosting to give boost to social communities. Yahoo reported a 9% increase in traffic for every 400 millisecond increase in performance. Walmart experienced a 2% increase in conversions for every 1 second improvement in performance.  Amazon experienced a 1% increase in revenue for every 100 ms increase in performance. Google, the behemoth as it is in providing you visibility, also ranks your website according to its speed. What does this tell us ?  The faster your community is, the faster it will grow !

Now when you a run a social networking platform, or any other framework for that matter, it would run perfectly fine when the number of users is less, but as you would grow your website becomes sluggish. At this point, each platform requires performance optimisation. There are several techniques to do this, and a vast variety of tools – choosing which ones are going to work wonders for you, is tricky. Being around in this area for several years, we have used and continue to study and experiment with various approaches and following are some of the techniques that have worked for a significant percentage of our Social Engine/Phpfox customers.

PHP Performance Optimization

  • PHP Realpath cache settings are increased
  • PHP open_basedir is disabled for increased php performance
  • PHP-FPM (FastCGI Process Manager) is an alternative high-performance method of running PHP based web applications
  • Alternative PHP Cache (APC) is enabled and optimized for SocialEngine.

Web Server Performance Optimization

  • Keep-Alives are enabled with suitable values based on traffic from Google Analytics
  • Gzip output compression is enabled
  • Installing plugins for javascript and CSS compression
  • Using reverse proxy for caching static resources

Database Performance Optimization

  • Alternative engines of MySQL for better Socialegine performance
  • Database configuration based on what works best for SocialEngine
  • Scripts for optimizing indexes of tables most used

Custom Optimization

  • Profiling database queries and improve the most used ones
  • Improvements in plugins that may be slowing your site down or using alternative ones

It is possible to do all of this by yourself, or getting developers to do this. However, in our experience, the community owners are really more focused on making their community an engaging experience via functionality or graphics. Similarly most developers can write PHP code, but very few have the experience of various tools for improving performance. One of the solutions we thought was to bake this optimization right into the hosting, so we have teamed up with Acenet hosting to provide you hosting for SocialEngine and Phpfox with built-in PHP, web server and database performance enhancements. Custom optimization may be required when your community grows huge, but that is different for everyone and we will continue to provide it as an separate service.

Please feel free to add your choice of recommendations and tools you feel have re-powered your social community performance in the comments below. We would certainly love to add them into the list for our readers.

Performance optimization tips for SocialEngine and Phpfox in 2017 was last modified: July 7th, 2017 by Kapil Jain