Welcome!

Microservices Expo Authors: Jason Bloomberg, Elizabeth White, Pat Romanski, Mehdi Daoudi, Liz McMillan

Related Topics: Microservices Expo, Java IoT, Microsoft Cloud, Machine Learning , Agile Computing, @CloudExpo

Microservices Expo: Article

Learning to Expect the Unexpected: Load Test Before It’s Too Late

Unfortunately, many organizations tend to treat load testing as one of those activities that they can put off until a later day

At times, I can be a bit of a procrastinator. If there is no pressing need to clean out the garage this week, shop for holiday gifts, or do my taxes, I can easily be convinced to let it go until next week or next month. Inevitably, though, something happens that makes me wish I hadn't delayed quite as long as I did. The garage gets flooded, for example, and the boxes that I had been meaning to organize get soaked and destroyed... or my Valentine's Day gift doesn't get shipped in time and I'm left holding the bag. I'm sure many of you can think of your own examples.

Unfortunately, many organizations tend to treat load testing as one of those activities that they can put off until a later day. You can almost imagine what they're thinking: "Our website is up and handling the daily load with little difficulty. Yes, there's a major advertising campaign - or new product launch, or major news release, or something similar - coming, but that's a few months away, and we have plenty of time to prepare for it." Then, inevitably something happens, testing doesn't get completed and the website is flooded with traffic that it is unable to handle. If you're the one responsible for the fall-out from such an event, it's time to stop procrastinating and start load testing. By load testing, I'm not just talking about throwing a bunch of simultaneous users at your website. I'm talking about generating a realistic load so you get results your developers and infrastructure team will actually pay attention to. This involves modeling real-world factors in your user loads, including users accessing your website and applications from mobile devices and from lots of different geographies. With proper load testing you can be prepared when the unexpected deluge of users hits your site. You'll know what your site can handle, and how it will respond. More important, you can put mechanisms and procedures in place to help ensure your site will scale - or at least fail gracefully - and avoid the organizational embarrassment and opportunity cost of a major outage.

Perhaps you're still not convinced that some event could happen tomorrow that sends a tidal wave of users your way. That's what Florida Gulf Coast University (FGCU) thought in March of 2013, when the school's basketball team scored an unprecedented and unexpected series of victories in the 2013 NCAA Men's Division I Basketball Tournament. Suddenly, what was a relatively unknown school outside of Florida was thrust into the national limelight, and millions of people wanted to learn more about it. What happened? The university's website crashed. At exactly the time when FCGU could present a positive image of itself to a wide, interested audience, the website failed under load. To be clear, I have no inside information about what tests FGCU may have performed if any, but I can infer that the tests were either inadequate or that the results were not taken seriously. As a result, what could have been a public relations slam dunk turned into a missed opportunity.

Sure, you say, but that's a once-in-a-generation occurrence, and you're a business not a university. Consider this. While watching the Super Bowl, I saw a rather cryptic commercial for a company I hadn't heard of before. Like many people around the country, I wanted to know more so I visited the company's website. What did I find? It had crashed.

And they weren't alone. Coke, Acura, and other big names experienced similar outages. It's true that running a Super Bowl add does not really qualify as an "unexpected event." Surely, many individuals in each of those companies knew the ads would run, yet still the web team was left looking unprepared. Perhaps they had not tested with a realistic, geographically distributed user load? It is not inconceivable that in some cases the web teams were not aware that the ad would run. Can you say with 100% confidence that you know exactly when your company's next big campaign will launch? What if a mistake is made - one outside the control of anyone in your organization? Is your website ready today to handle the traffic generated by such an event? If not, how will it fail?

So far, the examples I've cited have resulted in maybe a little embarrassment, a bit (or more) of revenue loss, and some brand tarnishing. But, it's easier to imagine a more dire scenario. People depend on the web today like never before. Websites that serve the public interest and public safety are expected to perform and deliver up-to-date information that the public needs at all times.

During the terrorist hunt after the tragic marathon bombing in Boston earlier this year, the FBI had held a press conference alerting the public of the identification of the suspects. Among the discussion was the release of a URL that contained photos of the suspects. Living just a few miles from where the bombing took place, I, like most of the people watching the press conference, tried to bring up the website only to find a "website not available" message. While the outage seemed to be resolved promptly, I can only imagine the ramifications if the site had remained down.

 

While the latter example might be extreme, all of these situations had one thing in common: the organizations did not expect the causes of the failures to ever occur in the first place. If they had, obviously they would have done more to protect against it. Instead of wracking your brain to think about all the possible causes of traffic spikes such as a water main breaking, a major storm approaching or a competitor's site going down, just test it so you know if and how you can handle the spike. This will ensure you have the answers to those questions you will be sure to get should an unforeseeable event impact your site. The fact is unlikely events occur all the time. Our job as load testers is to understand how our software will perform when they do. Since learning to expect the unexpected, I realize it's all about preparation, not procrastination.

This weekend, I'm cleaning out the garage... maybe I'll even get a jump on my holiday shopping.

More Stories By Steve Weisfeldt

Steve Weisfeldt is a Senior Performance Engineer at Neotys, a provider of load testing software for Web applications. Previously, he has worked as the President of Engine 1 Consulting, a services firm specializing in all facets of test automation. Prior to his involvement at Engine 1 Consulting, he was a Senior Systems Engineer at Aternity. Prior to that, Steve spent seven years at automated testing vendor Segue Software (acquired by Borland). While spending most of his time at Segue delivering professional services and training, he was also involved in pre-sales and product marketing efforts.

Being in the load and performance testing space since 1999, Steve has been involved in load and performance testing projects of all sizes, in industries that span the retail, financial services, insurance and manufacturing sectors. His expertise lies in enabling organizations to optimize their ability to develop, test and launch high-quality applications efficiently, on-time and on-budget. Steve graduated from the University of Massachusetts-Lowell with a BS in Electrical Engineering and an MS in Computer Engineering.

Comments (0)

Share your thoughts on this story.

Add your comment
You must be signed in to add a comment. Sign-in | Register

In accordance with our Comment Policy, we encourage comments that are on topic, relevant and to-the-point. We will remove comments that include profanity, personal attacks, racial slurs, threats of violence, or other inappropriate material that violates our Terms and Conditions, and will block users who make repeated violations. We ask all readers to expect diversity of opinion and to treat one another with dignity and respect.


@MicroservicesExpo Stories
Many organizations are now looking to DevOps maturity models to gauge their DevOps adoption and compare their maturity to their peers. However, as enterprise organizations rush to adopt DevOps, moving past experimentation to embrace it at scale, they are in danger of falling into the trap that they have fallen into time and time again. Unfortunately, we've seen this movie before, and we know how it ends: badly.
Leading companies, from the Global Fortune 500 to the smallest companies, are adopting hybrid cloud as the path to business advantage. Hybrid cloud depends on cloud services and on-premises infrastructure working in unison. Successful implementations require new levels of data mobility, enabled by an automated and seamless flow across on-premises and cloud resources. In his general session at 21st Cloud Expo, Greg Tevis, an IBM Storage Software Technical Strategist and Customer Solution Architec...
Many organizations adopt DevOps to reduce cycle times and deliver software faster; some take on DevOps to drive higher quality and better end-user experience; others look to DevOps for a clearer line-of-sight to customers to drive better business impacts. In truth, these three foundations go together. In this power panel at @DevOpsSummit 21st Cloud Expo, moderated by DevOps Conference Co-Chair Andi Mann, industry experts will discuss how leading organizations build application success from all...
The last two years has seen discussions about cloud computing evolve from the public / private / hybrid split to the reality that most enterprises will be creating a complex, multi-cloud strategy. Companies are wary of committing all of their resources to a single cloud, and instead are choosing to spread the risk – and the benefits – of cloud computing across multiple providers and internal infrastructures, as they follow their business needs. Will this approach be successful? How large is the ...
‘Trend’ is a pretty common business term, but its definition tends to vary by industry. In performance monitoring, trend, or trend shift, is a key metric that is used to indicate change. Change is inevitable. Today’s websites must frequently update and change to keep up with competition and attract new users, but such changes can have a negative impact on the user experience if not managed properly. The dynamic nature of the Internet makes it necessary to constantly monitor different metrics. O...
Enterprises are moving to the cloud faster than most of us in security expected. CIOs are going from 0 to 100 in cloud adoption and leaving security teams in the dust. Once cloud is part of an enterprise stack, it’s unclear who has responsibility for the protection of applications, services, and data. When cloud breaches occur, whether active compromise or a publicly accessible database, the blame must fall on both service providers and users. In his session at 21st Cloud Expo, Ben Johnson, C...
21st International Cloud Expo, taking place October 31 - November 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA, will feature technical sessions from a rock star conference faculty and the leading industry players in the world. Cloud computing is now being embraced by a majority of enterprises of all sizes. Yesterday's debate about public vs. private has transformed into the reality of hybrid cloud: a recent survey shows that 74% of enterprises have a hybrid cloud strategy. Me...
Today companies are looking to achieve cloud-first digital agility to reduce time-to-market, optimize utilization of resources, and rapidly deliver disruptive business solutions. However, leveraging the benefits of cloud deployments can be complicated for companies with extensive legacy computing environments. In his session at 21st Cloud Expo, Craig Sproule, founder and CEO of Metavine, will outline the challenges enterprises face in migrating legacy solutions to the cloud. He will also prese...
Most of the time there is a lot of work involved to move to the cloud, and most of that isn't really related to AWS or Azure or Google Cloud. Before we talk about public cloud vendors and DevOps tools, there are usually several technical and non-technical challenges that are connected to it and that every company needs to solve to move to the cloud. In his session at 21st Cloud Expo, Stefano Bellasio, CEO and founder of Cloud Academy Inc., will discuss what the tools, disciplines, and cultural...
The “Digital Era” is forcing us to engage with new methods to build, operate and maintain applications. This transformation also implies an evolution to more and more intelligent applications to better engage with the customers, while creating significant market differentiators. In both cases, the cloud has become a key enabler to embrace this digital revolution. So, moving to the cloud is no longer the question; the new questions are HOW and WHEN. To make this equation even more complex, most ...
With the rise of DevOps, containers are at the brink of becoming a pervasive technology in Enterprise IT to accelerate application delivery for the business. When it comes to adopting containers in the enterprise, security is the highest adoption barrier. Is your organization ready to address the security risks with containers for your DevOps environment? In his session at @DevOpsSummit at 21st Cloud Expo, Chris Van Tuin, Chief Technologist, NA West at Red Hat, will discuss: The top security r...
Agile has finally jumped the technology shark, expanding outside the software world. Enterprises are now increasingly adopting Agile practices across their organizations in order to successfully navigate the disruptive waters that threaten to drown them. In our quest for establishing change as a core competency in our organizations, this business-centric notion of Agile is an essential component of Agile Digital Transformation. In the years since the publication of the Agile Manifesto, the conn...
The nature of the technology business is forward-thinking. It focuses on the future and what’s coming next. Innovations and creativity in our world of software development strive to improve the status quo and increase customer satisfaction through speed and increased connectivity. Yet, while it's exciting to see enterprises embrace new ways of thinking and advance their processes with cutting edge technology, it rarely happens rapidly or even simultaneously across all industries.
These days, APIs have become an integral part of the digital transformation journey for all enterprises. Every digital innovation story is connected to APIs . But have you ever pondered over to know what are the source of these APIs? Let me explain - APIs sources can be varied, internal or external, solving different purposes, but mostly categorized into the following two categories. Data lakes is a term used to represent disconnected but relevant data that are used by various business units wit...
"NetApp's vision is how we help organizations manage data - delivering the right data in the right place, in the right time, to the people who need it, and doing it agnostic to what the platform is," explained Josh Atwell, Developer Advocate for NetApp, in this SYS-CON.tv interview at 20th Cloud Expo, held June 6-8, 2017, at the Javits Center in New York City, NY.
One of the biggest challenges with adopting a DevOps mentality is: new applications are easily adapted to cloud-native, microservice-based, or containerized architectures - they can be built for them - but old applications need complex refactoring. On the other hand, these new technologies can require relearning or adapting new, oftentimes more complex, methodologies and tools to be ready for production. In his general session at @DevOpsSummit at 20th Cloud Expo, Chris Brown, Solutions Marketi...
DevOps at Cloud Expo – being held October 31 - November 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA – announces that its Call for Papers is open. Born out of proven success in agile development, cloud computing, and process automation, DevOps is a macro trend you cannot afford to miss. From showcase success stories from early adopters and web-scale businesses, DevOps is expanding to organizations of all sizes, including the world's largest enterprises – and delivering real r...
You know you need the cloud, but you’re hesitant to simply dump everything at Amazon since you know that not all workloads are suitable for cloud. You know that you want the kind of ease of use and scalability that you get with public cloud, but your applications are architected in a way that makes the public cloud a non-starter. You’re looking at private cloud solutions based on hyperconverged infrastructure, but you’re concerned with the limits inherent in those technologies.
As DevOps methodologies expand their reach across the enterprise, organizations face the daunting challenge of adapting related cloud strategies to ensure optimal alignment, from managing complexity to ensuring proper governance. How can culture, automation, legacy apps and even budget be reexamined to enable this ongoing shift within the modern software factory?
"When we talk about cloud without compromise what we're talking about is that when people think about 'I need the flexibility of the cloud' - it's the ability to create applications and run them in a cloud environment that's far more flexible,” explained Matthew Finnie, CTO of Interoute, in this SYS-CON.tv interview at 20th Cloud Expo, held June 6-8, 2017, at the Javits Center in New York City, NY.