Welcome!

Linux Containers Authors: Elizabeth White, Liz McMillan, Vaibhaw Pandey, Pat Romanski, Yeshim Deniz

Related Topics: @DevOpsSummit, Microservices Expo, Linux Containers, Containers Expo Blog, @CloudExpo

@DevOpsSummit: Blog Post

What Does an SLA Mean to You? | @DevOpsSummit #DevOps #SLA #ContinuousDelivery

You can factor performance and load testing into your continuous integration process by focusing on performance SLAs

When it comes to testing an application, many project managers and test leads do not fit performance and load testing early on in the development life cycle. Often, performance and load testing are conducted once the application has been completed and after all functional testing is done. In fact, it's frequently a last step - almost an afterthought - before the app is ready to go into production.

The problem with this approach is the classic problem with late-stage testing. When issues are found by the testers, developers have to go back and open up long-finalized code to fix them. There's risk in causing other parts of the application to break. Addressing problems after-the-fact becomes time consuming and expensive. Furthermore, any delay in releasing a new feature or a new app can directly impact revenue.

Even though you are running an agile development process, that doesn't necessarily mean that your performance testing is being conducted in a truly agile way. Saving performance testing for a "final sprint" before release still treats it like a waterfall development step, with all the cost and risk that comes with that. In this post, we will show you how to make load testing happen early and often by putting SLAs on the agile task board.

What Does an SLA Mean to You?
You can factor performance and load testing into your continuous integration process by focusing on performance SLAs, or service level agreements. Traditionally, SLAs are contracts put in place between two parties, such as a service firm and its client. This agreement sets various attributes about how the service will be delivered. For example, a large company that outsources its help desk operations to another company may require that all incoming emails be responded to within one hour. That agreement allows the client to build its business knowing that the desired service will be executed according to its specifications.

As a performance tester, you can think of an SLA in terms of your performance parameters. In your case, it's an implicit contract that you make with your user. It's almost like a standard that you hold your application to on behalf of your users. Your SLA may state that all pages need to load within 2 seconds, or that the first page of results of a search should be displayed within 4 seconds.

Though this isn't a hard-and-fast contract, that's how you want to think about it. Specify your SLA items during the application design process, and you can turn them into requirements that are placed on the task board as part of agile. That way, developers are taking performance into account as they develop the application, and not leaving it as an afterthought.

What Your SLA Should Include
There are all sorts of website metrics you can include in an SLA. The most important thing is to get something specified up front. This is how you are going to get developers coding for performance at the very beginning of the process.

When you are first starting, we recommend that you have enough specified in your performance SLAs to support automated smoke testing. Consider what happens in a smoke test. Once the application is built, it will be deployed and a series of tests will be run to make sure that everything works. This basic test might be as simple as setting up a user and having the user log in. Adding a performance SLA to that smoke test could be as simple as requiring that the login process be completed within a given time window.

Add that requirement to your task board, and suddenly you are automating performance testingright at the beginning of the development process. As more of the app gets developed, you can add more requirements alongside the modules and features being created.

When you create your SLAs, it's a good idea to identify a set of key pages to test regularly (home page, shopping cart, contact form, search results, chat window, etc.), and define requirements for a set of metrics such as:

  • DNS resolution time
  • Time-to-display
  • Time-to-last-byte
  • System uptime

Obviously your application will have its own critical performance metrics as well.

Finally, define a base level of network types (Wi-Fi, 3G) and platforms (operating systems and browsers) that your SLA will be measured from. Requiring zippy load times for someone running IE6 over a dial-up internet connection will only prompt hatred and ire from your developers, but providing realistic expectations that apply to the bulk of your users will keep everyone happy.

How Often to Conduct Load and Performance Testing
You now know how set expectations with SLAs in place, but how often should performance and load tests to be conducted? Remember, testing is happening throughout the agile development process, and at different scales. For many agile shops, your automated build process includes a number of tests that get executed every time a build happens. Then you may have additional testing that is done on a more thorough basis, but less frequently. Sometimes you have test scripts that are run every time code is checked in.

Match your automated performance testing to the process. It's unreasonable to expect a full load test be conducted every time the app is smoke tested, but something simple will match the scope, intent, and turn-around time of the smoke test, fitting in nicely with what's already happening. Use your best judgment and align your SLAs with the work being done, and you should be ok.

The SLA: One Secret to Quick and Efficient Load Testing
As your application grows and your process matures, you'll end up with a rich library of SLA requirements throughout your portfolio of test structures. You'll also have automated tests that can validate those SLAs within the right testing constructs: smoke testing, comprehensive automated tests, unit tests, and other areas. It won't take too many cycles for performance to become a regular expectation of the code that gets produced.

Photo Credit: Enrique Fernández

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.

@ThingsExpo Stories
"IBM is really all in on blockchain. We take a look at sort of the history of blockchain ledger technologies. It started out with bitcoin, Ethereum, and IBM evaluated these particular blockchain technologies and found they were anonymous and permissionless and that many companies were looking for permissioned blockchain," stated René Bostic, Technical VP of the IBM Cloud Unit in North America, in this SYS-CON.tv interview at 21st Cloud Expo, held Oct 31 – Nov 2, 2017, at the Santa Clara Conventi...
In his session at 21st Cloud Expo, Carl J. Levine, Senior Technical Evangelist for NS1, will objectively discuss how DNS is used to solve Digital Transformation challenges in large SaaS applications, CDNs, AdTech platforms, and other demanding use cases. Carl J. Levine is the Senior Technical Evangelist for NS1. A veteran of the Internet Infrastructure space, he has over a decade of experience with startups, networking protocols and Internet infrastructure, combined with the unique ability to it...
22nd International Cloud Expo, taking place June 5-7, 2018, at the Javits Center in New York City, NY, and co-located with the 1st DXWorld Expo 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 ...
"Cloud Academy is an enterprise training platform for the cloud, specifically public clouds. We offer guided learning experiences on AWS, Azure, Google Cloud and all the surrounding methodologies and technologies that you need to know and your teams need to know in order to leverage the full benefits of the cloud," explained Alex Brower, VP of Marketing at Cloud Academy, in this SYS-CON.tv interview at 21st Cloud Expo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clar...
Gemini is Yahoo’s native and search advertising platform. To ensure the quality of a complex distributed system that spans multiple products and components and across various desktop websites and mobile app and web experiences – both Yahoo owned and operated and third-party syndication (supply), with complex interaction with more than a billion users and numerous advertisers globally (demand) – it becomes imperative to automate a set of end-to-end tests 24x7 to detect bugs and regression. In th...
Widespread fragmentation is stalling the growth of the IIoT and making it difficult for partners to work together. The number of software platforms, apps, hardware and connectivity standards is creating paralysis among businesses that are afraid of being locked into a solution. EdgeX Foundry is unifying the community around a common IoT edge framework and an ecosystem of interoperable components.
"MobiDev is a software development company and we do complex, custom software development for everybody from entrepreneurs to large enterprises," explained Alan Winters, U.S. Head of Business Development at MobiDev, in this SYS-CON.tv interview at 21st Cloud Expo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA.
Large industrial manufacturing organizations are adopting the agile principles of cloud software companies. The industrial manufacturing development process has not scaled over time. Now that design CAD teams are geographically distributed, centralizing their work is key. With large multi-gigabyte projects, outdated tools have stifled industrial team agility, time-to-market milestones, and impacted P&L stakeholders.
"Space Monkey by Vivent Smart Home is a product that is a distributed cloud-based edge storage network. Vivent Smart Home, our parent company, is a smart home provider that places a lot of hard drives across homes in North America," explained JT Olds, Director of Engineering, and Brandon Crowfeather, Product Manager, at Vivint Smart Home, in this SYS-CON.tv interview at @ThingsExpo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA.
"Akvelon is a software development company and we also provide consultancy services to folks who are looking to scale or accelerate their engineering roadmaps," explained Jeremiah Mothersell, Marketing Manager at Akvelon, in this SYS-CON.tv interview at 21st Cloud Expo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA.
Coca-Cola’s Google powered digital signage system lays the groundwork for a more valuable connection between Coke and its customers. Digital signs pair software with high-resolution displays so that a message can be changed instantly based on what the operator wants to communicate or sell. In their Day 3 Keynote at 21st Cloud Expo, Greg Chambers, Global Group Director, Digital Innovation, Coca-Cola, and Vidya Nagarajan, a Senior Product Manager at Google, discussed how from store operations and ...
"There's plenty of bandwidth out there but it's never in the right place. So what Cedexis does is uses data to work out the best pathways to get data from the origin to the person who wants to get it," explained Simon Jones, Evangelist and Head of Marketing at Cedexis, in this SYS-CON.tv interview at 21st Cloud Expo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA.
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...
SYS-CON Events announced today that Telecom Reseller 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, NY. Telecom Reseller reports on Unified Communications, UCaaS, BPaaS for enterprise and SMBs. They report extensively on both customer premises based solutions such as IP-PBX as well as cloud based and hosted platforms.
It is of utmost importance for the future success of WebRTC to ensure that interoperability is operational between web browsers and any WebRTC-compliant client. To be guaranteed as operational and effective, interoperability must be tested extensively by establishing WebRTC data and media connections between different web browsers running on different devices and operating systems. In his session at WebRTC Summit at @ThingsExpo, Dr. Alex Gouaillard, CEO and Founder of CoSMo Software, presented ...
WebRTC is great technology to build your own communication tools. It will be even more exciting experience it with advanced devices, such as a 360 Camera, 360 microphone, and a depth sensor camera. In his session at @ThingsExpo, Masashi Ganeko, a manager at INFOCOM Corporation, introduced two experimental projects from his team and what they learned from them. "Shotoku Tamago" uses the robot audition software HARK to track speakers in 360 video of a remote party. "Virtual Teleport" uses a multip...
A strange thing is happening along the way to the Internet of Things, namely far too many devices to work with and manage. It has become clear that we'll need much higher efficiency user experiences that can allow us to more easily and scalably work with the thousands of devices that will soon be in each of our lives. Enter the conversational interface revolution, combining bots we can literally talk with, gesture to, and even direct with our thoughts, with embedded artificial intelligence, whic...
SYS-CON Events announced today that Evatronix will exhibit at 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. Evatronix SA offers comprehensive solutions in the design and implementation of electronic systems, in CAD / CAM deployment, and also is a designer and manufacturer of advanced 3D scanners for professional applications.
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...
To get the most out of their data, successful companies are not focusing on queries and data lakes, they are actively integrating analytics into their operations with a data-first application development approach. Real-time adjustments to improve revenues, reduce costs, or mitigate risk rely on applications that minimize latency on a variety of data sources. In his session at @BigDataExpo, Jack Norris, Senior Vice President, Data and Applications at MapR Technologies, reviewed best practices to ...