PHP Worker Recommendations for eCommerce and Membership Sites

[ad_1]

Each hosting plan at Kinsta includes a certain number of PHP workers. PHP workers determine how many simultaneous requests your WordPress site can handle at a given time. To put it simply, each uncached request to your site is handled by a PHP Worker.

For example, if you are running a WooCommerce site, your checkout page is intentionally not cached (with Nginx rule or cookie) to ensure proper functionality. The uncached request is handled by a PHP worker, which goes into a queue. If you have more requests than you do PHP workers, the queue starts to reject new requests which could result in 502/504 errors or incomplete requests.

Therefore, some WordPress sites will need more PHP workers than others to ensure the best performance. Specifically, any site that has a high rate of cache BYPASS/MISS traffic and a large number of concurrent users will need relatively more PHP workers. We refer to these types of sites as being highly dynamic.

Types of sites which would be considered dynamic include:

  • eCommerce:  WooCommerce, Easy Digital Downloads, etc.
  • Membership: MemberPress, Ultimate Membership Pro, etc.
  • Learning Management System: LearnDash, Lifter LMS, etc.
  • Forum: bbPress, BuddyPress, etc.

Recommendations for Sites with a Lot of Uncacheable Content

We don’t recommend running dynamic sites (eCommerce, membership, LMS, forum) on plans with 2 PHP workers (Starter and Pro plans).

These types of sites will run on a plan with 2 PHP workers, but the ability of these sites to handle concurrent users while using 2 PHP workers will be quite limited.

If you only expect light traffic, it’s fine to run these types of sites on a plan with 2 PHP workers. However, if you do opt to run a dynamic website on a plan with 2 PHP workers and experience slow performance or 502 errors, our support team will encourage you to upgrade to a plan with 4 PHP workers or more (Business 1 and higher plans).

Our support team will only provide input on debugging 502s or slow performance for dynamic sites hosted on plans with more than 2 PHP workers.

Additional Resources


Save time, costs and maximize site performance with:

  • Instant help from WordPress hosting experts, 24/7.
  • Cloudflare Enterprise integration.
  • Global audience reach with 34 data centers worldwide.
  • Optimization with our built-in Application Performance Monitoring.

All of that and much more, in one plan with no long-term contracts, assisted migrations, and a 30-day-money-back-guarantee. Check out our plans or talk to sales to find the plan that’s right for you.

[ad_2]

Jaspreet Singh Ghuman

Jaspreet Singh Ghuman

Jassweb.com/

Passionate Professional Blogger, Freelancer, WordPress Enthusiast, Digital Marketer, Web Developer, Server Operator, Networking Expert. Empowering online presence with diverse skills.

jassweb logo

Jassweb always keeps its services up-to-date with the latest trends in the market, providing its customers all over the world with high-end and easily extensible internet, intranet, and extranet products.

GSTIN is 03EGRPS4248R1ZD.

Contact
Jassweb, Rai Chak, Punjab, India. 143518
Item added to cart.
0 items - 0.00