Question

Choosing the best tools for my Droplets

I am finally moving from a Shared hosting to a VPS hosting on Digital Ocean.

Since now I have control of what I can install, I would like to know which of these are preferred to install.

Web Server

Apache or NGinx?

I learn that nginx is faster than Apache but Apache has most support. I am not really familiar with both of them. I just want to know which one is better to use, which one is more stable?

Database

MySQL or MariaDB?

I am familiar with MySQL, I just learn that MariaDB is faster, but I am not sure if it’s ready for production

Optimization

APC + (memcached || redis)?

APC is the only one i know, any better alternative? as of Memcache and redis, I am not familiar with any of them and they are the only one I know.

Now, Should I get a different mail droplets? or should I use 1 droplets to rule them all? (postfix or iredmail + apache or nginx + php + maria or mysql + ubuntu + memcached or redis?

Thank you


Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Thanks for your reply, I will take a look at mod_pagespeed, never heard about this one.

welcome to DO, <br> <br>I’m here the same as you new to these stuff… :) <br> <br>I just moved from the horrifying shared hosting companies that were stealing our money for bad services. <br> <br>as I understand you want to know what to go for, and this is exactly what I want to ask few months ago… <br> <br>I can say that Nginx is good compared to Apache for sure. There is a good combination you can go for: Nginx + Php-fpm (php5.5.8 latest ver) + mod_pagespeed. I guess it is better to get at least 1 GB RAM since is good to hold things up. I believe the majority is used Ubuntu for OS, but me I use Debian 7 64x And that is for the performance. <br> <br>For security sake, I guess it is a long road and I’m still trying things out. You can go with SSH first and how to protect it. Then use Fail2Ban to protect whole system, and you got to be careful to create an image for your droplet whenever things are setup correctly before starting to testing things out. Mod_secuirty is also an excellent tool to protect your system " I heard coders say", but still didn’t manage to make it work totally. <br> <br>don’t use memcached or xcache since they are nothing compared to mod_pagespeed. I’m not sure about Mysql compared to MariaDB… still not yet for me… testing soon. <br> <br>for mail, I go with external service such as Zoho mail since they have free plan. I will go soon on paid one which is about $25 with extra features. <br> <br>I can’t say more because that really depends on you and what you are going to use applications and tools for. <br> <br>Good luck, <br> <br>