Also, the more processing a banner rotation script has to do to serve a banner, the slower the performance of the system.
The more that is inherent in the design of the system, the better.
Perhaps delegating the expiring of campaigns and ads to a cron job or as a daemon running in the background would solve many of the problems. The banner script concentrates only on pulling from the pool of existing banners, and the cron job/daemon managers what those banners actually are. An advertiser could get an extra exposure or impression, but that is not a "bad" thing, in and of itself.
PUGDOGŪ
PUGDOGŪ Enterprises, Inc.
FAQ: http://postcards.com/FAQ
The more that is inherent in the design of the system, the better.
Perhaps delegating the expiring of campaigns and ads to a cron job or as a daemon running in the background would solve many of the problems. The banner script concentrates only on pulling from the pool of existing banners, and the cron job/daemon managers what those banners actually are. An advertiser could get an extra exposure or impression, but that is not a "bad" thing, in and of itself.
PUGDOGŪ
PUGDOGŪ Enterprises, Inc.
FAQ: http://postcards.com/FAQ