r/ObservabilityOPS • • Oct 19 '26

How do you load test a server before moving client sites to it?

I run hosting for a set of client sites mostly WordPress and a few WooCommerce stores on Nginx and PHP-FPM. Last month I moved them from an older server to a new one and I wanted to know before the move whether the new server would hold up during the stores' busy hours.

What I did

  1. Copied two of the busiest stores to the new server on a temporary hostname.
  2. Recorded the normal shopper flow once: home page, a product, add to cart, checkout page.
  3. Ran it in steps of 25, 50 and 100 users, and watched PHP-FPM workers, MySQL slow queries and page load time while it ramped.

I want to run the flow in real browsers so I can analyze the page timings included the theme and plugin scripts, not just the server response so I used LoadView for this and the first thing that broke wasn't CPU. PHP-FPM ran out of workers at around 60 users and requests started queuing. Raising pm.max_children and adding page caching for logged out visitors fixed most of it.

If you don't need real browsers, k6 or JMeter against the main URLs gets you the server side for free.

How do you test before a migration? Do you load test at all or move one site first and watch it?

2 Upvotes

1 comment sorted by