General:Performance

From InClickAdServer

Tuning for Performance - A Single Server Deployment

The inClick Ad Server is designed to be fast, scalable, and efficient. While we do everything we can to make things perfect, there are a few things you can do to further improve system performance. In this article, we will go over a few things that will significantly improve system capacity.

  • Install eAccelerator on the web server. This caching system will not only improve performance of the inClick Ad Server, but any other PHP based application or script you have running on the same server.
    NOTE: This caching system has no performance gains when PHP is running in CGI mode.
  • Enable INNODB and convert the following inClick Ad Server tables to INNODB if they are not already INNODB:
    • inclick_ads_clicks_temp
    • inclick_ads_impressions_temp
    • inclick_contextual_urls
    • inclick_contextual_url_keywords
    • inclick_publisher_channels_clicks_temp
    • inclick_publisher_channels_impressions_temp
  • Avoid running the ad server in an environment where PHP is configured as a CGI. The CGI version of PHP has been known to utilize more resources than the Apache module counterpart. This may not be noticeable during the early stages of your installation and deployment, however, as traffic begins to increase, you may notice performance issues at peak traffic times.
  • Enable HEAP table usage in MySQL.
  • Enable Query Caching in MySQL
  • Configure PHP to utilize the GeoIP PECL extension:
  • Configure the ad server to use Memcached