Welcome!

Microservices Expo Authors: Automic Blog, Elizabeth White, Dalibor Siroky, XebiaLabs Blog, John Katrick

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.

@MicroservicesExpo Stories
The benefits of automation are well documented; it increases productivity, cuts cost and minimizes errors. It eliminates repetitive manual tasks, freeing us up to be more innovative. By that logic, surely, we should automate everything possible, right? So, is attempting to automate everything a sensible - even feasible - goal? In a word: no. Consider this your short guide as to what to automate and what not to automate.
Enterprises are adopting Kubernetes to accelerate the development and the delivery of cloud-native applications. However, sharing a Kubernetes cluster between members of the same team can be challenging. And, sharing clusters across multiple teams is even harder. Kubernetes offers several constructs to help implement segmentation and isolation. However, these primitives can be complex to understand and apply. As a result, it’s becoming common for enterprises to end up with several clusters. Thi...
The nature of test environments is inherently temporary—you set up an environment, run through an automated test suite, and then tear down the environment. If you can reduce the cycle time for this process down to hours or minutes, then you may be able to cut your test environment budgets considerably. The impact of cloud adoption on test environments is a valuable advancement in both cost savings and agility. The on-demand model takes advantage of public cloud APIs requiring only payment for t...
It’s “time to move on from DevOps and continuous delivery.” This was the provocative title of a recent article in ZDNet, in which Kelsey Hightower, staff developer advocate at Google Cloud Platform, suggested that “software shops should have put these concepts into action years ago.” Reading articles like this or listening to talks at most DevOps conferences might make you think that we’re entering a post-DevOps world. But vast numbers of organizations still struggle to start and drive transfo...
Many enterprise and government IT organizations are realizing the benefits of cloud computing by extending IT delivery and management processes across private and public cloud services. But they are often challenged with balancing the need for centralized cloud governance without stifling user-driven innovation. This strategy requires an approach that fundamentally reshapes how IT is delivered today, shifting the focus from infrastructure to services aggregation, and mixing and matching the bes...
Cavirin Systems has just announced C2, a SaaS offering designed to bring continuous security assessment and remediation to hybrid environments, containers, and data centers. Cavirin C2 is deployed within Amazon Web Services (AWS) and features a flexible licensing model for easy scalability and clear pay-as-you-go pricing. Although native to AWS, it also supports assessment and remediation of virtual or container instances within Microsoft Azure, Google Cloud Platform (GCP), or on-premise. By dr...
"Codigm is based on the cloud and we are here to explore marketing opportunities in America. Our mission is to make an ecosystem of the SW environment that anyone can understand, learn, teach, and develop the SW on the cloud," explained Sung Tae Ryu, CEO of Codigm, 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.
High-velocity engineering teams are applying not only continuous delivery processes, but also lessons in experimentation from established leaders like Amazon, Netflix, and Facebook. These companies have made experimentation a foundation for their release processes, allowing them to try out major feature releases and redesigns within smaller groups before making them broadly available. In his session at 21st Cloud Expo, Brian Lucas, Senior Staff Engineer at Optimizely, discussed how by using ne...
"CA has been doing a lot of things in the area of DevOps. Now we have a complete set of tool sets in order to enable customers to go all the way from planning to development to testing down to release into the operations," explained Aruna Ravichandran, Vice President of Global Marketing and Strategy at CA Technologies, in this SYS-CON.tv interview at DevOps Summit at 21st Cloud Expo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA.
Let's do a visualization exercise. Imagine it's December 31, 2018, and you're ringing in the New Year with your friends and family. You think back on everything that you accomplished in the last year: your company's revenue is through the roof thanks to the success of your product, and you were promoted to Lead Developer. 2019 is poised to be an even bigger year for your company because you have the tools and insight to scale as quickly as demand requires. You're a happy human, and it's not just...
We just came off of a review of a product that handles both containers and virtual machines in the same interface. Under the covers, implementation of containers defaults to LXC, though recently Docker support was added. When reading online, or searching for information, increasingly we see “Container Management” products listed as competitors to Docker, when in reality things like Rocket, LXC/LXD, and Virtualization are Dockers competitors. After doing some looking around, we have decided tha...
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...
identify the sources of event storms and performance anomalies will require automated, real-time root-cause analysis. I think Enterprise Management Associates said it well: “The data and metrics collected at instrumentation points across the application ecosystem are essential to performance monitoring and root cause analysis. However, analytics capable of transforming data and metrics into an application-focused report or dashboards are what separates actual application monitoring from relat...
"Opsani helps the enterprise adopt containers, help them move their infrastructure into this modern world of DevOps, accelerate the delivery of new features into production, and really get them going on the container path," explained Ross Schibler, CEO of Opsani, and Peter Nickolov, CTO of Opsani, in this SYS-CON.tv interview at DevOps Summit at 21st Cloud Expo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA.
While some developers care passionately about how data centers and clouds are architected, for most, it is only the end result that matters. To the majority of companies, technology exists to solve a business problem, and only delivers value when it is solving that problem. 2017 brings the mainstream adoption of containers for production workloads. In his session at 21st Cloud Expo, Ben McCormack, VP of Operations at Evernote, discussed how data centers of the future will be managed, how the p...
DevOps teams have more on their plate than ever. As infrastructure needs grow, so does the time required to ensure that everything's running smoothly. This makes automation crucial - especially in the server and network monitoring world. Server monitoring tools can save teams time by automating server management and providing real-time performance updates. As budgets reset for the New Year, there is no better time to implement a new server monitoring tool (or re-evaluate your current solution)....
While we understand Agile as a means to accelerate innovation, manage uncertainty and cope with ambiguity, many are inclined to think that it conflicts with the objectives of traditional engineering projects, such as building a highway, skyscraper or power plant. These are plan-driven and predictive projects that seek to avoid any uncertainty. This type of thinking, however, is short-sighted. Agile approaches are valuable in controlling uncertainty because they constrain the complexity that ste...
"This all sounds great. But it's just not realistic." This is what a group of five senior IT executives told me during a workshop I held not long ago. We were working through an exercise on the organizational characteristics necessary to successfully execute a digital transformation, and the group was doing their ‘readout.' The executives loved everything we discussed and agreed that if such an environment existed, it would make transformation much easier. They just didn't believe it was reali...
"We're developing a software that is based on the cloud environment and we are providing those services to corporations and the general public," explained Seungmin Kim, CEO/CTO of SM Systems Inc., 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.
The cloud revolution in enterprises has very clearly crossed the phase of proof-of-concepts into a truly mainstream adoption. One of most popular enterprise-wide initiatives currently going on are “cloud migration” programs of some kind or another. Finding business value for these programs is not hard to fathom – they include hyperelasticity in infrastructure consumption, subscription based models, and agility derived from rapid speed of deployment of applications. These factors will continue to...