Log in from a computer to take this course

You'll need to log in from a computer to start Introduction to DevOps. But you can practice or keep up your coding streak with the Codecademy Go app. Download the app to get started.

apple storegoogle store
Learn

Bloop Co wants to make sure that their system can handle thousands of new users attempting to buy their product. One of the engineers has created a test. The company gathers around as simulated requests flood into the system. 1000 requests, 2000 requests, 5000 requests, the system is able to handle more and more requests as they come in. It looks like some of these resiliency methods have been working!

Remember, we want to know how our system will perform under difficult circumstances. It makes sense then to create some problems on purpose, to see how our system responds. Let’s take a look at some ways engineers test the resiliency of their systems.

Penetration testing involves simulating cyber-attacks to try to exploit security vulnerabilities. Penetration testing gives us a chance to see how our system might respond to a malicious user. Using penetration testing allows us to identify holes in our security that we need to fix.

Load testing seeks to replicate situations in which the system is under heavy use. Load testing might simulate millions of customers trying to access our site all at once. Load testing can help us identify areas in which the system will break under real-world conditions.

Each of these practices can help us identify and then remove weak spots within our system. Sometimes it takes breaking a system to make it better!

Instructions

Can you think of ways that other industries do load testing?

Answer

The competition between leading cell phone manufacturers has caused features such as drop-proofing and waterproofing to become more widely available. In order to claim that a phone has a shatterproof display or is waterproof, companies need to test and prove that this is the case. The phones might be subjected to being scratched with an object or dropped in a certain amount of water. If a screen doesn’t meet its targets it might be sent back to the drawing board.


While penetration and load testing are powerful tools that can cause failures, there are many more ways to test a system’s responses to problems. Next we will look at further ways to reveal how a system will respond to issues.

Take this course for free

Mini Info Outline Icon
By signing up for Codecademy, you agree to Codecademy's Terms of Service & Privacy Policy.

Or sign up using:

Already have an account?