WooCommerce on a VPS: How Much RAM and CPU Does Your Store Need?

Moving a WooCommerce store to a VPS raises a question every store owner asks sooner or later: how much server do you actually need? WooCommerce on a VPS gives you control over RAM, CPU, and PHP workers, but it also makes you responsible for sizing them right. Too little and the store slows down under traffic; too much and you pay for capacity that sits idle.

This guide gives practical sizing starting points by store size, explains what RAM and CPU each do for WooCommerce, and shows how to check whether your current server is the bottleneck. Prices vary by provider, so treat any numbers here as rough guidance and check official pricing before you buy.

WooCommerce on a VPS: What Changes vs Shared Hosting

On shared hosting, the provider decides your PHP memory limit, worker count, and database resources, and your store shares them with strangers. On a VPS, those limits are yours to set, which is both the benefit and the risk. A WooCommerce store is heavier than a plain WordPress blog: product pages run more queries, carts and checkout pages cannot be cached the same way, and each active shopper holds a PHP session that uses memory.

That means WooCommerce on a VPS behaves differently from a brochure site on the same server size. A 1 GB VPS that runs a blog fine can struggle with a store that gets steady traffic, because the store needs memory for PHP workers, MySQL, and an object cache at the same time.

What RAM Does for a WooCommerce Store

RAM holds the working set: PHP processes, the MySQL buffer pool, and the object cache. When RAM runs out, the server starts using disk swap, and a WooCommerce store on swap feels dramatically slower. Enough RAM keeps the hot data in memory, which is where most of the speed comes from.

Three consumers matter most:

  • PHP workers: each concurrent shopper needs a worker, and each worker uses memory. WooCommerce workers use more memory than blog workers because product and cart data is larger.
  • MySQL: the InnoDB buffer pool caches table and index data. A store with a large catalog benefits from a larger buffer pool, up to a point.
  • Object cache: Redis or Memcached holds repeated query results in memory so the database does less work. Budget memory for it separately, or it will compete with MySQL.

If you are still deciding how much memory a WordPress install needs in general, our guide to how much RAM a VPS needs for WordPress covers the baseline numbers, and this article builds on them for the heavier WooCommerce case.

What CPU Does, and Why Cores Beat Clock Speed

CPU handles PHP execution, MySQL queries, and tasks like image resizing and order processing. For WooCommerce, vps cpu cores matter more than raw clock speed once you pass a basic threshold, because concurrent shoppers run in parallel. Two shoppers checking out at the same time need two workers on two cores to avoid queuing.

CPU also spikes during jobs that have nothing to do with shoppers: product imports, bulk edits, backup compression, and cron tasks. A store that feels fast at noon but slow during a nightly import usually has a CPU contention problem, not a traffic problem. Schedule heavy jobs outside peak hours.

Sizing Starting Points by Store Size

Good woocommerce vps sizing starts from your store profile, not from a provider’s marketing tiers. These are starting points for a typical store with a standard theme and a handful of plugins, not guarantees. A store with heavy plugins, a huge catalog, or custom code needs more.

Store profile RAM vCPU Notes
New store, under 100 products, light traffic 2 GB 1-2 Fine for launch; watch memory as plugins grow
Growing store, 100-1,000 products, steady daily orders 4 GB 2 Add Redis; this is the most common sweet spot
Busy store, 1,000+ products, dozens of orders daily 8 GB 4 Separate object cache budget; consider a dedicated database
High-traffic store, flash sales, hundreds of concurrent shoppers 16 GB+ 4-8 Load testing required; consider scaling workers and database separately

Choosing specs is only half the job: our guide to choosing VPS specs for RAM, CPU, and storage walks through storage speed and disk sizing too, which matter for a store with thousands of product images. And if you run several stores or sites on one server, the VPS sizing guide for self-hosting stacks shows how to add up the needs of everything sharing the box.

WooCommerce RAM Requirements by Component

A useful way to budget RAM is to add up the consumers instead of guessing a total:

  • Operating system and base services: roughly 500 MB to 1 GB.
  • MySQL with a sensible buffer pool: 1-2 GB for a small store, more as the catalog grows.
  • PHP workers: memory limit times worker count. With a 256 MB PHP limit and 5 workers, budget up to 1.25 GB at peak.
  • Redis or Memcached: 256 MB to 1 GB depending on catalog size.

Add those up and you can see why a 2 GB VPS gets tight fast: the operating system, MySQL, and a few PHP workers alone can fill it. A 4 GB server gives each consumer breathing room, which is why it fits most growing stores.

PHP Workers: The Hidden Limit

PHP workers decide how many shoppers your store serves at once. If you have 3 workers and 5 shoppers hit checkout simultaneously, two of them wait. That wait shows up as slow checkout, which costs sales directly.

More workers need more RAM, so woocommerce php workers and RAM scale together. A common mistake is raising worker count without raising RAM, which pushes the server into swap and makes everything slower. Raise both, then test. If your host panel reports worker usage, watch it during a traffic peak before deciding you need a bigger server.

How to Tell If Your VPS Is the Bottleneck

Before upgrading, confirm the server is actually the problem. Check these in order:

  1. Memory: if free RAM is near zero and swap is in use during peaks, you need more RAM.
  2. CPU: if load average stays above the core count during traffic, you need more cores or fewer heavy plugins.
  3. Slow queries: if CPU is fine but pages are slow, the database or a plugin is the problem, not the server size.

Run the same check after any upgrade. If the bottleneck moves from RAM to CPU, your next upgrade is cores, not memory. Guessing wastes money; measuring twice does not.

When to Split Services Instead of Upgrading

Past a certain size, one bigger VPS stops being the right answer. Splitting MySQL onto its own server, adding a separate Redis server, or putting a caching layer in front of the store scales further than vertical upgrades. Multi-site setups face the same math: our guide to WordPress multisite on a single VPS and resource planning shows how shared resources get divided when several sites live on one box.

Start with the sizing table, measure under real traffic, and upgrade the resource that actually runs out. That loop keeps a WooCommerce store fast without paying for server capacity it never uses.

Ditulis oleh

Firdaus Safari Putra

Founder, PT FirKaizen Digital Solutions

Firdaus Safari Putra adalah founder PT FirKaizen Digital Solutions. Ia membangun dan mengoperasikan infrastruktur server di balik panduan ini, dan menulis berdasarkan apa yang benar-benar ia jalankan, uji, dan ukur — bukan teori.