WP architecture on Proxmox with VMs dedicated to Frontend and Backend

[ad_1]

Hi

I run a WordPress website handling 181K unique visitor and about 30M requests per month.

It is hosted on a Pro-4 Dedibox server from Scaleway (Intel(R) Xeon(R) CPU E3-1245 v5 @ 3.50GHz ; RAM 62 Go). Unfortunately I experience severe performance issues. CPU skyrockets at 100% and the load average is crazy. WordPress runs behind Clouflare with cache enabled, I have also a fastcgi cache with Ngninx and a Redis cache object in memory. I also have lots of SQL requests and I think I have done everything that I can. The CPU is not the most performant.

Some people on s/selfhosted have advised me to have a look at Hetzner. It’s a provider in Germany providing dedicated servers. For almost the same price I pay, I can get a dedicated server with 128 Go RAM + SSD storage + AMD Ryzen™ 5 3600 (about 80 euros / month).

On my current install, WP + SQL + Nginx are installed on the same server. I am considering installing a Proxmox with 3 separate VMs. One for the frontend (WP / Ngninx / PHP with cache) ; one for the backend (mysql only) ; and a third one for development and test.

My gut feeling is that it could help me fine tune CPU and memory allocation accros all VMs (more than on a single server) and also balance the risk of breaking everything during an update accros 2 or 3 VMs. Also it would be easier to move a VM from one hosted to another or perform backups or mass updates. However I don’t really know if what I get (agility, risk-tolerance) is ok with the network latency between all VMs inside the same Proxmox node. Would that work from a performance perspective ?

If you have experience in such architecture, I’d be happy to hear from you !!

Thanks!

[ad_2]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer