Table of contents
Question: Any tips to help scale WooCommerce?
This question comes from Facebook!
We’re going to go from the foundation to the roof on this question. Starting with your resources and ending with CDN’s or maybe something else 🤣
Web Hosting Types and Server Resources
If you recall when you first started with your WooCommerce store, you had to choose a hosting plan. Typically most people start off small, using Shared Hosting. This is a type of web hosting provided and is a majority of what smaller websites are using online.
If you’re looking to scale your WooCommerce site, the web hosting you choose and the related resources are important. Learn more.
Now that you understand the types of web hosting available, lets look at what is going to help imrpove WooCommerce.
No matter what type of hosting your choose, the storage is going to have some effect in how WooCommerce performs. Granted you want to make sure you have enough storage, but you also want to make sure you have fast storage. This is important for your database if it’s on the same server as your WooCommerce site (more about this later).
SSD Storage is good, but NVMe is great. Either one will do the job, but I always just go with NVMe.
High Frequency Processors all day! 🔥 PHP is a beast and will use as much CPU as it needs to get the job done. Since PHP is not multithreaded, each request that comes in is assigned to a single thread or CPU. So you’ll want good single-core performance, versus lots of cores that are slow.
WordPress and WooCommerce also share some of the blame when it comes to being efficient, they do have their own issues when it comes to how performant their codebase is.
Typically I suggest companies like Vultr or Upcloud that have the high frequency servers.
Always have enough memory for your Operating System Services (2GB), your PHP Workers and Webserver (2-4GB) and your MySQL Database (2-18GB).
Wow, that sizing for MySQL is huge! Why is that? Well, you want your entire MySQL Database to sit in memory. You don’t want any requests to the database going to your disk, even though it’s fast. Memory is faster.