For Download clients, because the PHP Live! system is installed on your server environment, there are many system variables that can be adjusted for your needs. The variables can be optimized for chat response rate and the auto clean process of data. Keep in mind, increase or decreasing the variables can use up more of your server resources and can increase the rate of communication to the server. You'll want to keep in mind of the server resources available, the website traffic and the average chat volumes.
If you have numbers of operators online at any given time or if your website receives high volume of traffic, you may want to optimize some PHP Live! variables to limit server resource usage and overhead. The PHP Live! variables are located within the file phplive/API/Util_Vars.php Typically, the default values will be fine for most websites. However, if you receive more then 10,000+ visitors a day or have more then 5+ operators online at any given time, you may want to tweak the values for your needs.
If you are wanting to adjust some values, DO NOT attempt to modify the phplive/API/Util_Vars.php file directly. Instead, create a new file Util_Extra.php at the phplive/API/ directory (phplive/API/Util_Extra.php) and place the modified values there. This way, if a new values are introduced to the Util_Vars.php file, it will not override your adjusted settings.
An example phplive/API/Util_Extra.php for sites receiving 10,000+ visitors a day:
$VARS_IP_LOG_EXPIRE = 3 ; // visitor IPs data that has not been active for 3 days, remove
$VARS_FOOTPRINT_STATS_EXPIRE = 3 ; // keep footprint data for only 3 days
// ping the server to update the footprint data every 120 seconds (2 minutes)
$VARS_JS_FOOTPRINT_CHECK = 120 ;
Additionally, because the PHP Live! system pings the server periodically for various status, the web server log files may increase in size dramatically. Logging is not an issue unless the web server log file is over hundreds of Megs. With increase in operators being online, increase in your website traffic or increase in chat activity, the frequent PHP Live! HTTP pings will scale accordingly. It might be a good idea to log the frequent PHP Live! HTTP pings to a separate log file from the general web server log file. For more information, please visit the Improve server performance with custom logging conditions documentation.
Was this helpful?
could be more helpful? send comment
3 people found this helpful