Report this

What is the reason for this report?

Best configuration / optimization for an ad network

Posted on 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? ( https://www.digitalocean.com/community/articles/how-to-store-php-sessions-in-memcached-on-a-centos-vps )



This textbox defaults to using Markdown to format your 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.

Some stats like will be automatically updated each 3 hours.

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=“http://www.sagetree.com/sage-advice/christoph-weber/replace-mysql-mariadb-ubuntu-1204-lts”>http://www.sagetree.com/sage-advice/christoph-weber/replace-mysql-mariadb-ubuntu-1204-lts</a>

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.