HOME/ARTICLES/Shared vCPU vs dedicated vCPU for WordPress and APIs
Guides & Stacks5 min read✦Published 2026-11-17

Shared vCPU vs dedicated vCPU for WordPress and APIs

For an operator whose uncached pages or API slow down and who is considering a CPU-plan upgrade.

P
Founder and editor, SaaSFolio
Closely spaced equipment racks with orange network cables in a server room
Reference photo by Kevin Ache
Listen to this buying guideBROWSER NARRATION
Uses your browser’s speech synthesis. Reads a short overview.
Browser speech synthesis
Key takeaway

Learn when dedicated CPU is worth testing for WordPress or an API, how to diagnose contention, and why more vCPUs may leave the real bottleneck untouched.

Affiliate disclosure: some provider links may earn SaaSFolio a commission. Recommendations follow the workload and operating criteria described below. Read the disclosure.

Start with the request that is actually slow

A WordPress site can serve cached pages quickly while the editor, checkout or search remains slow. An API can spend most of a request waiting on a database or an external integration. Identify a representative slow path before changing the CPU plan. Record its response time, error rate and concurrency alongside CPU and memory observations. A server upgrade can help a compute-bound workload; it cannot guarantee a faster remote payment service or fix a database query that scans an unnecessary dataset. The first decision is whether the application is constrained by CPU at the moment visitors experience the problem. Leave that answer open until the measurements support it.

What the allocation terms tell you

DigitalOcean describes shared CPU plans as potentially sharing the underlying hyper-thread, while dedicated CPU plans guarantee access to the full hyper-thread. Hetzner also distinguishes shared resources from dedicated vCPUs. Those allocation models are useful context, but they do not make equal numeric vCPU counts comparable across every generation and provider. CPU architecture, per-core performance, memory and the application stack still matter. Read the current plan definition and record it with your test. Avoid interpreting dedicated CPU as dedicated physical hardware unless the contract actually says so. A predictable allocation can be valuable without being the correct or cheapest solution for every website.

Separate bursty workloads from sustained work

A mostly idle content site with occasional uncached requests may use a shared plan well. A service that regularly performs long CPU-heavy tasks has a different profile and deserves a dedicated-CPU trial or a separate worker design. Do not derive that profile from page views alone: caching, plugins, database activity and job scheduling determine how much work each visit creates. Observe normal operation and a representative busy period. If a background import consumes the same CPU as the public site, scheduling or isolating it may improve responsiveness before a broad upgrade. Treat workload descriptions as hypotheses to test, not fixed traffic thresholds.

Run a controlled upgrade experiment

Create a staging comparison with the same code revision, application settings and representative data. Keep external service calls predictable in the test environment. Compare a normal concurrency and a plausible peak without stressing systems outside your control. Record p50 and p95 response times, errors and resource use across multiple runs. Where practical, change one material variable at a time; otherwise describe all changes so the result is not attributed solely to CPU allocation. Do not publish a one-request timing as a provider benchmark. The result you need is whether the proposed configuration meets the site's own response-time and error requirements consistently enough to justify its continuing cost.

Check the cheaper fixes that measurements suggest

If memory pressure coincides with swapping or process restarts, a RAM change may matter more than CPU dedication. If a slow database query dominates the request, examine indexes and query behavior. If expensive public responses can safely be cached, verify cache correctness for logged-in users and private data before relying on it. If scheduled work creates contention, consider a queue or separate worker. These changes require application-specific validation. More capacity can buy useful headroom, but it should not hide an uncontrolled job or a data access defect. Write down the operational risk you are reducing, and compare that benefit with the cost of the smallest suitable change.

The upgrade rule I would use

Move to a dedicated-CPU configuration when a representative test shows a meaningful improvement on an important path and the complete quote fits the budget. Keep a rollback and data-recovery plan because a plan change is still an operational event. Stay with the existing class when it meets the requirement and another bottleneck explains the observed slowdown. This guide does not establish a universal visits-per-month threshold or claim that dedicated CPU always improves WordPress. The final record should name the workload, before-and-after configuration, measurement method and the limit you were trying to meet. That makes the decision reusable when the site grows or the provider updates its instance families.

A practical exercise for this decision

Choose an uncached WordPress search on representative content, or an API operation that performs meaningful application work. Keep the code and dataset fixed while testing the proposed allocation. Record response-time percentiles, errors, CPU and memory across repeated runs. If the request remains dominated by database wait, investigate that path before attributing the result to CPU contention. These are test instructions, not measurements from a provider trial.

What to keep in your decision record

Write the slow user action, the target response requirement, normal and peak concurrency, current resources and proposed resources. Retain the test revision and all material configuration changes. Record whether the change improved the important path enough to justify the recurring cost, plus the rollback and data-recovery arrangements.

The mistake that can change the result

More vCPUs do not guarantee that a single-threaded request becomes faster. Nor does a low average CPU reading exclude a short burst problem. Match the measurement window to the slowdown and inspect application behavior before deciding that core count is the cause.

Scroll the table to see all columns.

WorkloadShared CPU candidateDedicated CPU candidate
Mostly cached contentTest uncached paths and burstsJustify the extra allocation with evidence
Sustained computeInspect contention and consistencyTest predictable compute access
Database or network waitFind the actual waitCPU dedication alone may not resolve it

Frequently asked questions

Does dedicated vCPU mean a dedicated physical server?

No. Read the provider's allocation definition. Dedicated CPU in a cloud VM does not automatically mean that the whole physical machine belongs to you.

How many visitors require dedicated CPU?

There is no reliable universal threshold. Work per request, caching, concurrency, plugins and background tasks matter more than a raw visitor count.

References and current provider terms

These references support the buying considerations above. Check the live provider terms before paying. This guide is not a hands-on benchmark, customer case study or checkout test.

P

Published by

Editorial method, sources and corrections

Pratham Malhotra founded SaaSFolio and edits its discount guides, pricing comparisons and buying guides. Each guide is built from the provider's official plan and program pages and cites them; worked cost examples state their assumptions. They are not hands-on benchmarks, customer results or checkout tests.

Your private notes (0)

Stored in this browser; not sent to SaaSFolio