Best configuration / optimization for an ad network

  • Posted September 11, 2013

Hello, i’m going to start an ad network and i’m choosing to host it wih DO. First i want to choose the smallest VPS and when the network grows i will scale up the droplet with more resources. Application System requirements: Web Server PHP 5.3 or higher GD library 2.02 or higher (it’s available in PHP by default) MySQL database 4 or higher

I want to configure something like this: OS: Centos 6.4 64 Nginx webserver MySQL Of course php libraries and FFmpeg library to convert uploaded videos to flv format.

Once a day need to run a cron-job to reset the allowed maximum of clicks and impressions a day from from unique ips, send mails with stats etc. It is okay to store php sessions in memcache? ( )


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Yes, it’s faster to store sessions in memory (memcached) than on disk. <br> <br>Also consider using MariaDB instead of MySQL: <br> <br><a href=“”></a>

Some stats like will be automatically updated each 3 hours.