Shop with 1 mil page views / month
I’d like to move a Load Balanced site to Digital Ocean because I’d like to improve response time (hoping to get more crunches per second here).
The site is WooCommerce + WPML, with 2000 products, and it’s slow. The W3TC helps, but one of the recent marketing campaigns was to invite users to register for a discount, so now we have a bunch of logged in users with uncacheable user sessions and things like Black Friday don’t help either.
We have requested a site performance checkup from WPML, but that could take weeks.
What do you think about this setup for a 1.000.000 pageviews / 90.000 sessions per month:
2x nginx workers with 2vCPUs (cpu optimized droplets)
1x mysql / memcached data server with a standard 4vCPU droplet
Is it an overload for the 2vCPU cpu optmized droplet? Should I consider a standard droplet with more cores?
I must consider the number of active users (50 - 100), and hopefully reducing response time / TTFB with a better CPU here at DO.
The current site has a Xeon E5-2630 v4, and at 2.2GHz seems slower to respond than my home Xeon E3-1220 v3 @3.10 GHz. However, the current site has 2x nginx workers with 8 cores each (but by looking at DataDog’s CPU graphs, there seems to be quite a bit of overselling on these machines, and even with that, CPU Load never went over 3 on wrk1 and 4 on wrk2 on these VPS-s - during Black weekend).
The monthly allowance is around 120$, so please suggest another setup if you think that cpu_optimized(40$+40$) + standard(40$) isn’t the best fit here.
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.