Make Magento store hosted at DO visitor peak proof

Posted November 7, 2016 2k views

I don’t know if this is the right place to ask this question, but I currently run a Magento store on a DigitalOcean droplet. We are seasonal business and we expect a huge visitor load the next 1 - 2 months (christmas season).

Last year we had a hard time staying up, everything went slow on some days. A single page load would take like 50 seconds one we got like 40 concurrent visitors.

I now upgraded to the DO plan with 8GB memory and 4 core CPU. I then did a stresstest but still the shop has troubles with large amount of visitors.

On the Magento side I already:

  • Installed FPC
  • Optimized (disabled) modules that we don’t use
  • Setup REDIS caching

We use a seperate database server, it is a 1GB memory droplet and multiple stores are associated with this database server.

I am hoping on a couple of simple tips & tricks. Where should I look or what can I do to optimize performance on times with large amount of concurent visitors.

PS: we are expecting around 200 concurrent visitors on our peak.

EDIT: the webserver uses Apache, database server uses MySQL

Thanks in advance!

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

I would first setup Content Caching for Apache. There is DigitalOcean tutorial on how to do it.
You can try GZIP compression to reduce site assets size when transfered.

You can setup CDN to reduce load on site and improve loading time. CloudFlare is most popular and helpful.

Maybe even MySQL query caching could be a good thing.

by Justin Ellingwood
Web caching is a method of improving server performance by allowing commonly requested content to be temporarily stored in a way that allows for faster access. This allows the visitor to access content faster without having to fetch the same data multiple times. By...

Thanks a lot! I will look into this and see if this makes a big difference.