Hosting WooCommerce Stores with Unexpected High Traffic

eCommerce

What do you already know about hosting WooCommerce stores?

When it comes to hosting WooCommerce stores, you may have already read some of my articles on choosing a WordPress host, or how to think about WooCommerce already.

But maybe you haven't.

Or maybe you read the super sharp article by Carl Alexander on using a serverless architecture for a WooCommerce store – which I think is great but makes some assumptions about containers (that I don't think necessarily has to be the case).

Or maybe you just landed on the WooCommerce site, looked for hosting options, and saw several options, not knowing which one was best. Could a $1/month host really handle traffic (hint, you already know the answer to that)?

The truth is that you might not know anything about hosting for WooCommerce stores – especially when it experiences a surge in traffic. So let's start with some basics…

Understanding the architecture of a high-traffic WooCommerce store

Every WooCommerce store has the same parts. Think about it as a stack of books, where the one on the bottom is hardest for you to reach, and the one on the top is the easiest.

  • Cache Plugin or External Cache
  • WooCommerce Themes / Plugins
  • WooCommerce Software
  • WordPress Software
  • Apache or Nginx Web Server Software (or both)
  • PHP
  • Object Cache
  • Database

I could draw you an architecture diagram, but it's not important. Just remember that there are layers, in this order, and that a visitor gets to the top long before they get to the bottom.

Now here's where the performance dynamics come up, when you're hosting WooCommerce Stores. For everything that isn't your actual cart, you want the top layer to be where all your customer requests end.

You may have heard of cache, but have no clue what it is.

Do you remember playing sardines? One person hides. Then the next person who finds them hides with them. And then the next person finds them and hides with them. And eventually the whole group is hidden together.

A cache is like a photo of the whole group.

I know, you're scratching your head. But here's why I use this particular illustration. In sardines, everything gets more and more uncomfortable (costly) as more and more people hide with you (especially if you didn't pick a strategic location).

Well, when it comes to hosting WooCommerce stores, the same is true. Every time you have to go thru every single layer to get more info (all the way down to the database), it gets more and more expensive.

So a cache layer at the top is a special memory location holding everything in one place that doesn't require you to travel up and down the stack to get the info. Like having a photo of the group.

Ok, I've used other illustrations better. But my point is, caching is great except for the cart. Because you can't afford to have a snapshot of a group that isn't yours. You don't want to see someone else's cart. You want your own.

So the architecture of a high traffic WooCommerce store is one that uses Cache for everything it can, and then only skips it when it absolutely needs to.

If you can get most of your traffic to hit the cache and never make PHP do any work (except for carts), and rarely hit the database, you'll be able to scale to tons of concurrent users visiting your store at the same time.

Your options for scaling the hosting for WooCommerce stores

But what happens when you get that high traffic and they're putting things in carts? What happens when you can't handle everything with cache?

That's when you have to look at options for hosting high traffic WooCommerce stores.

Pagely does this and has for a long time. They do it by making all the tweaks you need (as they understand the architecture) and making sure that you have enough scalable infrastructure to handle the traffic (they sit on top of AWS).

For the longest time, WP Engine was focused elsewhere. They were focused on the Digital Experience. But they've recently circled back and are focused on WooCommerce stores again. They're engineering team is rock solid, but you likely should talk to one of their sales people (I don't know the ones they have now) to figure out the right size plan, as I don't think you'll want to run your store on the lowest tiers.

But my favorite, and where I send all my WooCommerce customers is Pressable.

How does Pressable stand out?

First, the infrastructure for Pressable is the same one for WordPress.com – so that means you're hosting on the same technical underpinnings that support millions of other WordPress websites. They support automated burst scaling – which is a fancy way of saying that no matter how much traffic you get, your servers won't fall over.

Second, they make a consistent investment in their hardware. Think about it this way – your WooCommerce site is based on the engine it runs on. But some sites are running on new engines and others are riding around town on cars that my dad drove as a kid. That's because hosting companies like to invest in their upgrades over time. So if you sign up right after an investment, it will feel great, but over time it gets slower.

Thirdly, ask Pressable about their data center replications. The reliability of their infrastructure matters – a ton. Everyone goes down. Every host and every site. But if your data center has replication built in, it just shifts you elsewhere. Many hosts (especially those who are hosting with other underlying platforms like Google) could offer this, but it costs more. So they often don't.

And lastly, these guys get support. So when you feel like your store is slowing down, and you have a question about caching, or anything else, they'll not only get back to you, but they'll get back to you quickly. Like 4 minutes quickly. Which is insane!

So go check out Pressable!

Sign up for free content. People still do that.

Thousands of folks (7000+) regularly get my posts in their inbox. For free.

We won't send you spam. Unsubscribe at any time. Powered by Kit