Infra

PaaS benchmark: Clever Cloud vs Scalingo vs Hidora

How much performance does your money buy?

Translated from French with AI assistance. Read the original

This series of posts shares hands-on feedback on French PaaS providers, with one problem in mind: hosting a fleet of 120+ WordPress sites.

In this series:


EDIT 01/21 The performance tests have been rerun. The first batch, from 2019, is available here: all ~80 tests from the 2019 PaaS performance comparison between Scalingo and Clever Cloud; it contained 80 tests. In 2021, I kept the tests much more concise; they’re available in this spreadsheet.

Measured performance

Included in this benchmark:

  • ✅ Clever Cloud
  • ✅ Scalingo
  • ✅ Hidora
  • ⛔️ OVH Cloud Web (couldn’t get the project running, see Part II)
  • ⛔️ Platform.sh (too expensive for our WordPress use case)

The tests were run under real-world conditions. I took a “representative” WordPress site that’s already in production with us. These aren’t tests on a plugin-free WordPress with a single blank page.

I ran the tests with a load testing tool (k6.io) from a server in Paris, FR: 5 unique visitors per second for 2 minutes.

The tests were run under the same conditions on every PaaS: same versions of WordPress and the plugins, same page tested. No optimizations, except for tuning the pm.max_children variable to handle request concurrency in php-fpm.

Before recording the results, I spent some time finding the optimal value for the pm.max_children setting, which tells each scaler how many concurrent PHP requests it can handle.

Set it too high, and performance tanks because there isn’t enough RAM (it swaps). Set it too low, and the scaler is throttled, and so is your performance.

⚠️ Note that the number of unique visitors varies, even when the test is set to 5 unique visitors per second for 2 minutes. I never got 5x60x2 = 600 requests. So remember to look at the number of requests the server actually had to handle. ⚠️

Test results (excerpts)

5 clients per second over 2 minutes
Price/month Details DB Average (ms) Number of requests
Scalingo €10.8 1x S 256M 492 335
Scalingo €18.0 1x M 256M 451 342
Clever Cloud €11.9 1x nano XXS-Med (512MB) 884 279
Clever Cloud €20.3 1x XS XXS-Med (512MB) 588 313
Hidora €15.78 2GB 256MB 2,042 239
Hidora €28.70 2GB 512MB 1,110 237
Test setup
  • The Bedrock edition of WordPress, which makes WP compatible with PaaS hosting, on top of providing modern tooling (configuration through environment variables, WordPress plugins managed with composer…)
  • PHP 7.4.x
  • Site 1
    • WordPress 5.6.x
    • List of dependencies and plugins: composer.json
  • pm.max_children is set to 10
  • Infra 14
  • PHP/Symfony 4
  • Dev tools 3
  • AI 1

Article 17 of 22All articles