WP Engine

Solutions
AgencyEnterpriseSmall & Medium BusinessMarketer
How WP Engine supports marketers.Benefits for marketers.Features that help you innovate.
Developer
How WP Engine supports developers.Benefits for developers.Features that help you move faster.
Explore Our Platform
Insights
Thought LeadershipTopics

Read articles, trends, and insights on these topics from leaders in marketing and technology.

Creative AgilityEnterprise PerformanceActionable IntelligenceEcosystem Integration
Resources

Access ebooks, whitepapers, webinars, and other knowledge from our ecosystem of digital experts.
Visit Resource Center.

Delivering a Slam Dunk Experience on WordPressEbook: The Ultimate Guide to WordPress Plugins15 Common WordPress Mistakes Agencies and their Clients Make
Case Studies
About
Our CompanyOur PlatformLatest News

Access the latest news from inside WP Engine.
Visit the Newsroom.

WP Engine Secures Strategic Growth Investment From Silver LakeWP Engine Unveils First WordPress Digital ExperienceWP Engine Expands Global Presence with New Office in Brisbane
Media Center

Get announcements and resources about WP Engine.

Press Releases
Careers at WP Engine
Pricing
Sales Questions?

Contact Sales

Discover why organizations of all types and sizes choose WP Engine — and how it can benefit you.

Chat

1

I'm available right now to answer any of your questions!

Reply

Call

+1-512-201-4819

Contact

Send a message

Compare Plans
Need Support?
Support DocumentationBilling HelpSupport

We offer support 24 hours a day, 7 days a week, 365 days a year. Log in to get expert one-on-one help.

Log in for support

Sales Questions

Contact Sales

Discover why organizations of all types and sizes choose WP Engine — and how it can benefit you.

Chat

1

I'm available right now to answer any of your questions!

Reply

Call

+1-512-201-4819

Contact

Send a message

Sign in
Sign in
Search

Search

Compare Plans
Call Sales +1-512-201-4819
Menu
AgencyEnterpriseSmall & Medium BusinessMarketers
How WP Engine supports marketers.Benefits for marketersFeatures that help you innovate.
Developers
How WP Engine supports developers.Benefits for developers.Features that help you move faster.
Our PlatformPricingResource CenterOur CompanySolution CenterThought LeadershipDocumentationCareers

Addressing the Recent Reports of Back End Slowness

Jason Cohen 5.22.2014

Some of our customers have contacted us about a slowness in our backend system.

We want to not only say “we’re sorry,” which of course we are, but we also want to spend some time explaining what happened and how we’re fixing it.

While for anyone it is a bit uncomfortable to admit where we come up short, we believe we need to be transparent in our efforts to make WP Engine the best WordPress platform for your website. Nothing is more important to us than our customers and our entire office wants every single one of you to have an amazing experience.

This post addresses a recent technical problem we had with our platform. What looked like a one-off engineering problem to begin with, ended up being a back-end issue affecting a number of you. We understand that this has been incredibly frustrating for you. Our aim here is to clearly explain the technical difficulties and what we’re doing to rectify them.

The Short Version of the Problem

Our system was experiencing random back-end slowness which displayed itself often as 50X errors.

For those that want just the basics:

1. We started looking into this several weeks ago.
2. We have deployed several releases as of this morning to help with this particular issue, as well as a general class of related issues.
3. We have added to our robust monitoring tools to make sure this issue or related potential issues don’t happen again.
4. We do listen and care about every one of you. We prefer to have these discussions in public and will continue to do so because you—our customers—are the thing we care the most about.

For those that want to dig in deeper, to learn about the why and how, I ask you to go on a journey with me.

Let’s Move Back in Time

It started with a phone call.

One of the most experienced developers on our platform reached out to us to say he was having some issues with our system. We took some steps and it died down. We felt awful he had a hard time getting to where he needed to be.

Then another call came in. And an IM. And an email. What were one-offs became a troubling trend and before we knew it, Engineering knew we had a problem.

While we’ve always actively monitored the uptime and performance of WP Engine’s systems as we’ve scaled, incremental changes in performance can go unnoticed for longer than anyone would like. A recent example is that until only about a month ago we were unaware of how slow the WordPress user interface had recently become for many of our customers. Thanks to a few customers raising it to our attention we looked more closely at the performance and our measurements and realized that although our high-level metrics, didn’t indicate a problem, that’s because we weren’t measuring certain aspects of our platform at sufficient detail to show that in fact there was a problem. We are very grateful to the customers that came forward and in the future encourage you all to reach out to us as well.

For those customers and many others, the experience of using WordPress while logged in had become unsustainable. While customer’s sites were still delivered in a speedy fashion, our customers had a poor experience every time they logged in to WordPress. That is not the standard we hold ourselves to, and was a complete mismatch with our expectations. This is especially true since we’ve invested in additional systems (not to mention faster hardware) to improve performance over the last several months, as you can see in this graph showing the average ratio of customers to systems.

Number of Customers per System

Number of Customers per SystemAs you see here the number customers per system was actually dropped at the beginning of the year. So there wasn’t a simple explanation like “overloaded servers.” We needed to dig deeper.

Our Response to the Red Flags

After we were contacted by the several customers we spun up a SWAT team of engineers to look into a number of issues we suspected to be related to this backend slowness, and our Support Team helped us find a sample set of customers who were able to reproduce the issues.

Every day since then we have held a standup of those engineers as well as the senior leadership from across WP Engine to discuss the current state of the investigation, research, communication as well as the progress that has been made since the day before.

Initially the problem looked quite impossible to diagnose, as each site we investigated had different symptoms, however as we continued to look at more sites we saw patterns emerging. When we look at the percent of wp-admin page loads that exceeded three seconds, excluding things like admin-ajax and other system or background requests, we finally found a metric that held a smoking gun:

Slowness of the Back End Over Time

Slowness of the Back End Over Time

We can see that they took a large step up in March, and some changes we released in early May helped to bring those back to “normal,” but we weren’t convinced that we had found all of the issues.

Another Suspect Appears

We began to suspect there were issues with transient variables and object caching throughout our system early on as we watched plugins make external API calls on every single page load instead of caching those results. Additionally, when we disabled object caching some sites performance became significantly better, which (obviously) hinted that something was wrong with our object caching platform. As it turns out, shim code we put in place several years ago—to mitigate login issues some plugins faced with wp-cache—was clearing the object cache any time a user attempted to login. We have since released a number of changes to the object caching layer to help mitigate and prevent this issue going forward.

We Need to Have Even More Metrics That Matter

First and foremost, we updated our measurement and monitoring of the object cache. Previously we would simply validate that the system would accept a new cache key, and that we could retrieve that value a second later. This metric lets us know that the cache is available, but not whether it is effective. It’s akin to checking whether a hospital patient has a heart, but not looking to see if they have a heartbeat. We now regularly use metrics for the object cache that look much deeper, including verifying that the cache is serving keys many times before they either expire or are expunged.

Additionally, we’ve updated our platform code to remove the shim code (which is no longer necessary, as plugins have updated their code to handle wp-cache better.) Finally, we’ve tightened up the code that requests an object cache flush to make certain it is only removing elements that absolutely must be removed, as opposed to much more liberal default object cache flushing.

You can see below that recent changes have nearly halved our cache miss rate in a very short period of time, providing much better performance for sites using object caching. This chart did bring us joy, but it is just a first step.

Miss Rates Due to Object Caching After Today’s Deployment (showing effects)

Miss Rates Due to Object Caching After Today’s Deployment (showing effects)

We Wish There Was a Universal Answer

It’s been said many times in software development that there is “no silver bullet,” but rather just a lot of lead bullets, and it’s absolutely true in this case. We’re convinced this was a significant improvement, and worth speaking about publicly, but we also wanted to assure our customers that we’re committed to providing a delightful experience when hosting with WP Engine, and we’re not stopping with just this one set of updates. We’re continuing to investigate a number of other ideas, and adding or updating our measurements as we go.

Our Commitment to You

This has been a very important learning experience for us. When something of this scope happens it is never a proud moment at any company.

If you’re willing to submit your site as part of the pool of data we use to check against, because it has experienced back end slowness, please fill out the below Google Form. Of course our support system is there for you as well, but more data helps us validate changes.

Google Form

Additionally our Community Team is always there for more organic contact and please feel free to ping them at any time. They are introduced in this blog post here:

Introducing WP Engine’s Community Team

To every customer reading this we care and we hope to continue to grow, learn, and do great things together.

More WordPress news from WP Engine

Growth is HardFinely Tuned Consultant – Kevin Leary

Comments

  1. Chris Ueland says

    May 22, 2014 at 3:21 pm

    Thank you for the detailed update. Great job explaining! Keep up the great work and transparency.

    Reply
    • Jason Cohen says

      May 22, 2014 at 3:24 pm

      Thanks so much for your support Chris!

      Reply
  2. ThingsUnder15 says

    May 22, 2014 at 3:24 pm

    Glad to see you are on top of it!

    Reply
    • Jason Cohen says

      May 22, 2014 at 3:25 pm

      Thanks much! We won’t be declaring “victory” for months to come, but we’ll take any individual battle we can win.

      Reply
  3. Reginald says

    May 22, 2014 at 8:37 pm

    Hey Jason,

    I think this is good. Yes, let’s face it. It happens and maybe you guys messed up (took longer than expected to resolve the issue).

    Let’s the bright side; you guys are already working on it etc. So that’s good. Well, we can’t pleased everyone but we’ll try (in customer service industry over 8 years) so I totally get you.

    Definitely sure you guys will bounce back after all these heat. Keep moving forward and keep your head high!

    Reply
    • Jason Cohen says

      May 23, 2014 at 10:25 am

      Thanks! Your support is much appreciated.

      Reply
  4. Brian Jackson says

    May 22, 2014 at 8:55 pm

    Thank you for the much needed update. Fellow marketers I have been chatting with are leaving WP Engine left and right. I’m going to give you guys a bit longer to resolve this 🙂

    Reply
    • Jason Cohen says

      May 23, 2014 at 10:28 am

      Thanks for the support! We will not let you down.

      Reply
  5. Syed Balkhi says

    May 22, 2014 at 9:36 pm

    Thanks for the all the transparency and detailed update Jason.

    Reply
  6. Mark Rowatt Anderson says

    May 23, 2014 at 2:25 am

    Thank you for the detailed update – it gives me confidence that you really will get to the bottom of this – and whatever issues may arise in the future.

    As someone who has suffered from this issue on and off for some months on multiple sites and opened multiple tickets I would like to add one thing for the benefit of anyone reading this who hasn’t experienced your support team.

    Throughout the process your team has always worked hard to try to resolve things – going above and beyond the call of duty, digging into my code and even finding unrelated performance issues there (now fixed – thanks!). So it turns out that you didn’t have the tools or the understanding to fix things initially, but I never got the impression that you stopped trying to fix it or taking my reports seriously.

    It looks like that persistence has paid off.

    Reply
    • Jason Cohen says

      May 23, 2014 at 10:27 am

      Thank you for the kind words for the support team — an often-thankless job. We’re not going to stop being at Defcon 1 for a while, so the encouragement is great to hear.

      Reply
  7. Jon Schroeder says

    May 24, 2014 at 11:33 am

    I’m not a customer — but great responses, and I’m glad to see you stepping up and giving specifics of what’s going wrong and what you’re doing to fix it.

    There are a lot of WP professionals watching what you do right now, and this is a good impression you’re making.

    Reply
    • Jason Cohen says

      May 27, 2014 at 2:44 pm

      Thanks so much! Transparency above all. We all have things to work on, so the at least we can do is talk about them.

      Reply
  8. Debbie Short says

    May 26, 2014 at 3:26 am

    I’m seriously considering leaving my current hosting company due to this exact problem.
    Working in the back of my very small WP site can take up to 30 seconds to update or switch between sections.
    Frustrating, when all you want to do is move from post to media library say.
    Another issue is one site has a regular .htcaccess error which my host will temporarily fix, but it reoccurs.

    I have been recommended to you, by my developer and your fees are over 6 times what I currently pay….I’m now concerned to read this article – although the openness of it is indeed refreshing –

    Can you confirm if this issue has been resolved or when it is likely to be fixed…
    This is a BIG jump for a small fish to make, can you promise not to make it a jump into a Shark Pool ?!?

    Reply
    • Jason Cohen says

      May 27, 2014 at 2:45 pm

      Thanks for the note. Yes, the fix is already deployed. Also, watch this space for another impactful thing we found which also is already in process of being deployed.

      All hosting companies experience issues, but our commitment is that we will talk about them and the solutions to those issues, and though we cannot be perfect and we will fail, we will be vigilant and transparent.

      Reply
  9. Anca says

    May 28, 2014 at 3:21 pm

    Thanks for this detailed update, and the dedication you guys have to fixing these issues. I noticed the improvement pretty quickly on at least two sites that I’m developing, so THANK YOU.

    Reply
    • Jason Cohen says

      May 28, 2014 at 4:38 pm

      That’s great to hear, thanks!

      Reply
  10. Vina Melody says

    May 28, 2014 at 9:02 pm

    Thumbs up for the transparency. With 9 WP sites with WPEngine, I’d definitely participate and hope you guys can be awesome again!

    Reply
    • Jason Cohen says

      May 29, 2014 at 8:22 pm

      Thanks Vina! We’re definitely getting back to good, with this and the additional change we posted about a few days ago as well, and more is coming too.

      Reply
  11. Clarence says

    September 3, 2014 at 2:58 pm

    Excellent transparency and diagnoses.

    Keep up the good work.

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

  • Subscribe

    Subscribe to our blog to get great tips for your WordPress site.

  • Favorite Tweets by @wpengine
  • Sign In

    Solutions

    • Agency
    • Enterprise
    • SMB
    • Marketer
    • Developer

    Insights

    • Blog
    • Torque
    • Velocitize

    About

    • Our Company
    • Leadership Team
    • Our Platform
    • Careers
    • Affiliates
    • Contact
    • Legal
    • Newsroom
    • Privacy Policy

    Resources

    • Resource Center
    • Documentation
    • Solution Center
    • Find an Agency

    WP Engine

    504 Lavaca Street, Suite 1000
    Austin, TX 78701

    Sales

    +1-512-201-4819
    [email protected]
    7am–7pm CST

    Billing

    [email protected]

    • Facebook
    • Twitter
    • LinkedIn
    • YouTube
    • Instagram
    • RSS
    © 2013—2025 WPEngine, Inc. All rights reserved.
    WP ENGINE®, VELOCITIZE®, TORQUE®, EVERCACHE®, and the cog logo service marks are owned by WPEngine, Inc.