Topic: Optimizing sharetronix for better performance
1) Update your software regularly
Every sharetronix versions comes with more sharetronix optimization techniques so be sure to install the latest version of sharetronix software with your site. You can download the latest version from the download page
http://www.sharetronix.com/sharetronix/download
2)Enable faster caching mechanism
For faster performance sharetronix software provides faster caching mechanisms that has to be chosen while your software installation. Sharetronix supports four types of caching mechanism and you can choose between them according to your requirement
Memcached - http://php.net/memcache
APC Alternative PHP Cache - http://php.net/apc
File System Storage
MySQL Memory Table
For the first two caching mechanisms (Memcached, APC Alternative PHP Cache) are not found enabled with most of the servers .You have to enable it manually with your webhosting. If you have access root access to your server then you can do it by logging to your system.
For most of the shared hosting accounts the above two mechanism are not enabled by default so you can request your hosting service provider to enable them. If they are not then you can choose between the remaining two (File System Storage, MySQL Memory Table) in this two methods the
MySQL Memory Table – Stores the caching mechanism in Databases (Not Recommended)
File System Storage - Stores the caching mechanism in Flat File System
If have only choice between these above two mechanisms, choose File System Storage than MySQL Memory Table which is recommended by the sharetronix
After making the changes in the cache mechanism you can enable it by making changes with the configuration file.
set the variable
$C->CACHE_MECHANISMin the Sharetronix configuration file - ./system/conf_main.php
3)Install eAccelerator on your server
eAccelerator-http://eaccelerator.net/ is a free open-source PHP accelerator & optimizer. It increases the performance of PHP scripts by caching them in their compiled state, so that the overhead of compiling is almost completely eliminated. It also optimizes scripts to speed up their execution.
4)Set cronjobs for faster page load time
Cronjob is a handy tool to automate the process with regular intervals. If your web hosting supports cronjobs, then you can set the cron jobs for faster page load time. You can set the below cronjobs that executed for every minute.
* * * * * /path/to/your/cli/php /path/to/your/sharetronix/system/cronjobs/worker.php5)Use ImageMagic for Image processing
By default sharetronix uses the PHP's GD extension for Image processing You can use ImageMagic for faster image processing http://www.imagemagick.org/script/index.php
Most of the today’s linux hosting systems already enabled with the ImageMagic extension ,if its not installed already you can make install by logging into your server root . After installing the imagic you have to make changes with sharetronix configuration file so that sharetronix knows you have migrated to ImageMagic for processing images.
You can do it by
Sharetronix configuration file (./system/conf_main.php) you need to set the variable
$C->IMAGE_MANIPULATIONto "
imagemagick_cli" and the variable $C->IM_CONVERT to the path to the Convert program (usully /usr/bin/convert).
6) Set the RPC servers for better pinging
Sharetronix uses “rpc.pingomatic.com” ping server by default to announce the search engines when every post is made with your portal. You can add more RPC servers for faster indexing (may it slow down your server with multiple RPC servers) If don’t want to use this service and would like to turn it off then you can disable this service by making the changes with your main configuration file.
./system/conf_main.php - set $C->RPC_PINGS_ON to FALSE.Do someMicro Jobs and earn decent money on your part time
