Cloud Security Authors: Liz McMillan, Zakia Bouachraoui, Elizabeth White, Pat Romanski, Yeshim Deniz

Related Topics: Cloud Security

Cloud Security: Blog Post

How the Aftermath of a Website Crash Helps Prevent the Next One By @Neotys

Be prepared for when disaster strikes

Imagine this nightmarish scenario:

A sizeable crash has just happened, and your company website has stopped functioning. It's a big deal, and you're certainly feeling anxious due to the loss of both revenue and reputation, but more surprises may lie in the aftermath. Any company that has experienced a catastrophic crash knows that it's like an earthquake. The same problems can strike more than once, just like aftershocks, shaking you off your feet just when you're beginning to regain confidence.

At Neotys, we know how important it is to figure out what went wrong and plan so it doesn't happen again. In this post, we'll look at some common causes of major website crashes, along with preventive measures you can take to avoid them in the future. With this extra knowledge under your belt, you'll be prepared when disaster strikes.

Why Getting to the Root of the Problem Matters
After a crash, you've likely taken a number of emergency precautions. For the purposes of this discussion, we're going to assume you've rectified the immediate situation and things are mostly back up to speed. Maybe you noticed one of these common performance problems and made an appropriate short-term fix. This certainly takes the burden off, but now you're faced with a tough question: How do I prevent it from happening again?

A cursory glance at the problem is simply not enough. Some people may be content once traffic has subsided. After all, if it was a spike in traffic that took your website down, once it goes away you'll find your site up and running again. Things may look okay, but you essentially did nothing. You aren't prepared for another spike, and you've learned nothing from the experience.

Best practices suggest you conduct a thorough post-mortem and identify the root cause of the issue. Let's go deeper into what exactly should happen in a post-web crash world - and what better way to learn than from the mistakes of others?

Remember Best Buy's Black Friday Crash?
The high profile example of Best Buy's crash on Black Friday is the perfect place to start. On one of the most profitable shopping days of the year, Best Buy's website went down for a reported two to three hours. The company reported a revenue loss of a few hundred thousand dollars. I don't know about you, but that's a lot of money to lose for something that could have been easily prevented by modern performance testing methods.

Best Buy placed the blame on an unexpected spike in mobile traffic. Seeing as the shopping holiday occurs every year, you would think that the company would understand and analyze the implications of this expected influx. However, Best Buy is just one in a string of companies that ran into trouble this past year. Netflix, HP, Foot Locker, Cabelas and a number of UK outlets (Currys, Argos, Tesco) all faced outages. The UK companies get a mulligan in our eyes (as Black Friday is a new phenomenon there), but maybe not in the eyes of their investors. Hopefully, they have all started preparing for next year. Here's what they should be doing.

Let's Be Honest About the Problem
There are several repeat offenders that cause web crashes. These troublemakers may include:

  • Software configuration issues for web servers, databases, or load balancers
  • Poor network configuration
  • Poorly optimized software code, for example, code that does not allow for concurrent access.
  • Insufficient hardware resources or lack of auto-scaling elastic computing.

Cloud server migration is another up-and-coming problem. HP found itself in hot water with this one, which is a bit ironic seeing as how the company is trying to position itself as a provider of cloud solutions. Its content delivery was served correctly, so that wasn't the issue in this case. It was on the back-end, and most likely due to failure under load.

Making Crashes aThing of the Past
Whatever the issue, you've got to assume that if it happened once, it will happen again. Just because your site is up and running again, doesn't mean you can ignore that root cause. Identify it, and plan for next time.

Once you think you understand the core issue, don't stop at the initial, immediate solution. If the problem was disk space, first determine why you ran out. Of course you'll want to install more storage. However, you still must discover why you incorrectly estimated how much you needed. Going through these steps will help you realize the precise solution and improve your data modeling.

Your solution may include fixes to the hardware environment or the software code; it may also include new procedures and automated reports for monitoring status. Don't just put a band-aid on the situation - heal the real problem.

Next, look for ways to recreate the issue in a controlled way. For example, simulate a large number of users stressing the system through a variety of realistic load testing scenarios. Focus on scenarios that:

  • Have been known to cause problems in the past
  • Are new and untested
  • Are likely to produce bottlenecks
  • Involve complex transactions
  • Are critical paths for users

These scenarios are crucial for discovering how your website reacts with abnormal amounts of load. By simulating user performance, you'll be able to review how tasks and transactions will function for your real users. Keep repeating these tasks and changing certain variables to ensure application reliability. Gather information throughout the year, and tweak your scenarios as much as possible.

Expect the Unexpected
If there's anything we can learn from online disasters like Best Buy's crash, it's to expect the unexpected. Much like a natural disaster, a web crash often catches us off guard when we least expect it. However, being prepared starts by acknowledging the possibility of a crash. Next, build your safety kit by analyzing the root causes of past problems and developing realistic load testing scenarios. Finally, continue to test, retest and configure variables. That way, when you feel the first wave of a potential disaster, you'll know what to do and hopefully prevent a crash.

More Stories By Tim Hinds

Tim Hinds is the Product Marketing Manager for NeoLoad at Neotys. He has a background in Agile software development, Scrum, Kanban, Continuous Integration, Continuous Delivery, and Continuous Testing practices.

Previously, Tim was Product Marketing Manager at AccuRev, a company acquired by Micro Focus, where he worked with software configuration management, issue tracking, Agile project management, continuous integration, workflow automation, and distributed version control systems.

IoT & Smart Cities Stories
Business professionals no longer wonder if they'll migrate to the cloud; it's now a matter of when. The cloud environment has proved to be a major force in transitioning to an agile business model that enables quick decisions and fast implementation that solidify customer relationships. And when the cloud is combined with the power of cognitive computing, it drives innovation and transformation that achieves astounding competitive advantage.
DXWorldEXPO LLC announced today that "IoT Now" was named media sponsor of CloudEXPO | DXWorldEXPO 2018 New York, which will take place on November 11-13, 2018 in New York City, NY. IoT Now explores the evolving opportunities and challenges facing CSPs, and it passes on some lessons learned from those who have taken the first steps in next-gen IoT services.
SYS-CON Events announced today that Silicon India has been named “Media Sponsor” of SYS-CON's 21st International Cloud Expo, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. Published in Silicon Valley, Silicon India magazine is the premiere platform for CIOs to discuss their innovative enterprise solutions and allows IT vendors to learn about new solutions that can help grow their business.
In his general session at 19th Cloud Expo, Manish Dixit, VP of Product and Engineering at Dice, discussed how Dice leverages data insights and tools to help both tech professionals and recruiters better understand how skills relate to each other and which skills are in high demand using interactive visualizations and salary indicator tools to maximize earning potential. Manish Dixit is VP of Product and Engineering at Dice. As the leader of the Product, Engineering and Data Sciences team at D...
SYS-CON Events announced today that CrowdReviews.com has been named “Media Sponsor” of SYS-CON's 22nd International Cloud Expo, which will take place on June 5–7, 2018, at the Javits Center in New York City, NY. CrowdReviews.com is a transparent online platform for determining which products and services are the best based on the opinion of the crowd. The crowd consists of Internet users that have experienced products and services first-hand and have an interest in letting other potential buye...
Founded in 2000, Chetu Inc. is a global provider of customized software development solutions and IT staff augmentation services for software technology providers. By providing clients with unparalleled niche technology expertise and industry experience, Chetu has become the premiere long-term, back-end software development partner for start-ups, SMBs, and Fortune 500 companies. Chetu is headquartered in Plantation, Florida, with thirteen offices throughout the U.S. and abroad.
The standardization of container runtimes and images has sparked the creation of an almost overwhelming number of new open source projects that build on and otherwise work with these specifications. Of course, there's Kubernetes, which orchestrates and manages collections of containers. It was one of the first and best-known examples of projects that make containers truly useful for production use. However, more recently, the container ecosystem has truly exploded. A service mesh like Istio addr...
SYS-CON Events announced today that DatacenterDynamics has been named “Media Sponsor” of SYS-CON's 18th International Cloud Expo, which will take place on June 7–9, 2016, at the Javits Center in New York City, NY. DatacenterDynamics is a brand of DCD Group, a global B2B media and publishing company that develops products to help senior professionals in the world's most ICT dependent organizations make risk-based infrastructure and capacity decisions.
Nicolas Fierro is CEO of MIMIR Blockchain Solutions. He is a programmer, technologist, and operations dev who has worked with Ethereum and blockchain since 2014. His knowledge in blockchain dates to when he performed dev ops services to the Ethereum Foundation as one the privileged few developers to work with the original core team in Switzerland.
Cloud-enabled transformation has evolved from cost saving measure to business innovation strategy -- one that combines the cloud with cognitive capabilities to drive market disruption. Learn how you can achieve the insight and agility you need to gain a competitive advantage. Industry-acclaimed CTO and cloud expert, Shankar Kalyana presents. Only the most exceptional IBMers are appointed with the rare distinction of IBM Fellow, the highest technical honor in the company. Shankar has also receive...