Best configuration / optimization for an ad network

Posted September 11, 2013 3.5k views
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? ( )

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.

Submit an Answer
2 answers
Some stats like will be automatically updated each 3 hours.
Yes, it's faster to store sessions in memory (memcached) than on disk.

Also consider using MariaDB instead of MySQL: