Performance Tips

Introduction

If you are running a high traffic site, there are some things you can do to improve the performance of the software and make sure it stays performing well. We'll discuss those items in this file.

Disable the Search Engine

The search engine is a nice feature to provide to your users, but it is very resource intensive. All you need to do is remove the search.php file from your server, and remove the search form from your ranking page templates. This will allow more of the server's resources to be dedicated to processing incoming and outoing hits.

Disable the image.php script

The image.php script allows your members to display an image on their site with their current rank. This can be very expensive in terms of server load, especially if your member sites are getting large amounts of traffic. Each time that a surfer visits one of your member sites, the image.php script from your server will have to be executed. Even if you only have 10 members but each of them gets 100,000 hits per day, that's 1,000,000 requests that your server has to process for the image.php script alone.

Clear the IP Tracking Logs Often

One thing that can take a lot of time to process is the IP logs. If you are using the IP tracking feature, it is highly recommended that you set the IP Address Expiration value to a maximum of 86400. This will ensure that the IP tracking logs do not get too large, which results in slower execution of the in.php script.

Use Cron if it is Available

If you have cron available on your server, using it can help to reduce the server load. If the index.php script doesn't always have to check if it is time for a rerank and/or reset it will be more efficient. If you understand how to setup cron, it is highly recommended that you use it.

Members

Keep track of your members. Delete accounts that are no longer participating. It takes time to process accounts even if they aren't sending hits, so it will benefit you to remove inactive accounts.

The Cheat Log

If you never look at the cheat log, disable it. If you do use it, be sure to clear it every so often. You should try to keep it under 2 megabytes in size.

Gateway Page HTML

If you are using a customized gateway page, keep your HTML to a minimum. The more HTML that the script has to process, the slower it is. Only put the items that are essential on that page. If you add a lot of extras in your HTML, it can slow the software down.

If You Don't Care About Cheating

Yes, there are some top list administrators who don't care about cheaters. If that is you, disable all of the cheat protection features. This will improve the performance of the in.php script and allow you to track more hits per day using fewer resources.