Welcome!

Machine Learning Authors: Yeshim Deniz, Zakia Bouachraoui, Liz McMillan, Pat Romanski, Elizabeth White

Related Topics: @DevOpsSummit, Java IoT, @CloudExpo

@DevOpsSummit: Blog Post

Death, Taxes & Performance Testing By @Neotys | @DevOpsSummit [#DevOps]

It is hard to comprehend just how quickly the companies that provide these services need to ramp up their operations every year

Life's Certainties: Death, Taxes and Performance Testing

This year I filed my taxes using a popular online web tax service and started to wonder how many other people were using the same services to do their taxes. There had to be millions. I looked it up - and according to the IRS over 80% of the 150 million tax returns that will be filed this year are expected to come in electronically. About a third of them - or 45 to 50 million - are self-prepared, online submissions from people like me.

It is hard to comprehend just how quickly the companies who provide these services (TurboTax, TaxSlayer.com, eSmart Tax, H&R Block, and many others) need to ramp up their operations every year. Taxpayers don't receive their W2s and other tax documentation until the end of January, so there is virtually no activity in that particular month. Then, once people have their forms at the beginning of February, a huge spike in traffic occurs.

Online tax companies go from an absolute standstill to 100 mph in a matter of days.

How do these companies do it? Tax laws change every year, so that online application is basically a brand new release when users start pounding away at it in February. What is it like to test the performance of a website that sees a higher traffic spike than an eCommerce site on Black Friday - with no warm-up period preceding it? How do they get performance right the first time that they face an onslaught of users?

Odds are your industry does not bear the same extreme performance characteristics that these tax software providers face. However, you can learn a ton from their tried and true testing methods. We at Neotys encourage you to read on to see how your site can become truly bulletproof.

The Twin Peaks of Tax Season

You may not realize that taxpayer traffic actually has two peaks. The first peak occurs right at the start of February, with people who file as soon as they have their paperwork. These are the early-birds who want their tax refunds from the government as quickly as possible.

The second peak happens in the first half of April, as the rest of the population scrambles to meet the April 15 tax-filing deadline. For tax software companies, there are basically no site visitors until January is over. Then, the floodgates open. Forget the soft launch!

Faced with that initial and immediate spike in traffic, tax companies freeze their software applications until activity subsides. Environments are locked and change is minimized as January winds to a close. From a software performance perspective, there's not much to do during this period of time. However, when the first wave of activity starts to die down in March, an opportunity arises to do a small release. At this point maintenance can be done on the site - patches and minor upgrades mainly - and all the data gathered during February can be put to use to fix lingering problems. Then it's back to lockdown for the April filing peak.

Because of these dynamics, the critical time period for testing an online tax site is October through January. This is when all of the site's core functionality and operating environments are tested, along with integration, load, and performance. The entire company has to rally around one thing: making sure everything is ready for that first day of February. Because that's when the switch is turned on.

How to Build Bulletproof Testing Methods
If you want to be sure that your applications will remain high-performing even in the face of spiking demand, take a few tips from the people who operate online tax software. Put in place strong load testing, stress testing, and performance monitoring systems. Let's take a look at a few specific guidelines in greater detail.

Load Testing with Agile Development
If you are using a load testing framework that has the right capabilities, you can get rid of a lot of the hassle of load test scripting by turning it into a click-and-script-only exercise. You record a script once, set up all the dynamic data and correlated data, save these items to the framework, and automatically apply them when rescripting. It minimizes manual work, allowing you to integrate load testing into your continuous integration process. Then you can compare the performance of individual sprint releases against each other with ease, and present the information to development teams in a simple report so they can analyze the data and make improvements.

Virtual Users
Run lots of user tests for long periods of time. This will help to flush out memory leaks that may only present themselves after weeks of normal usage in production. Virtual users can help you avoid having to shrink think times (the time taken by the users to think or to navigate to different pages in the application) which can lead to unnatural issues with session counts, connections, and garbage collection. The more virtual users you can use, the closer you can get to simulating reality.

Workload Adjustments
It's common for load testing to get pushed to the end of a cycle, but you don't have to let that happen. Use risk assessments and project prioritization to find testing activities that will add value without increasing resources. Design new tests to be executed during what is normally considered down-time. Instead of waiting for project leaders to give the go-ahead for testing, reach out to them early. This approach might allow you to proactively manage your workload and get more done.

Bandwidth Limiting
Bandwidth limiting allows you to emulate connectivity from physical locations to see what real response times look like. You can identify bandwidth intensive applications that might consume the majority of the internet pipe and determine whether or not they are necessary. This technique lets you create conditions that mimic what your users actually go through, and it can help you identify a whole class of problems that would otherwise go unnoticed.

Monitoring Systems
Automation is everything. Don't stop with automating test execution - also think about how you can automate other typical tasks. A good place to look is your monitoring systems. As your server environment grows and changes, setting up new monitors can take time and resources. Manual steps associated with these changes introduce risk, opening the door for inconsistent monitoring that misses critical events. The ability to copy monitors (for multiple hosts) in addition to out-of-the-box monitoring for open source systems dramatically reduces the time to setup a test scenario. What took a day in the past can now be completed in less than an hour.

Troubleshooting in Production
When you are going from zero to 100 mph, you don't want to leave anything to chance. So even when you are testing, you should look at all the performance data you would normally review in production. This helps guarantee that your production monitoring tools provide the detail needed for troubleshooting. Whenever possible, run at least one test from outside your firewall. Some issues can only be found using this approach. You should consider cloud testing for this strategy. You'll also want to build a good test-in-production process to certify the production environment.

Performance Testing - Or Death for Your Product
Unlike death and taxes, performance testing is advantageous to make your site as bulletproof as possible. These tips will help you to plan early, subject the system to stress, and monitor performance so that you get as close to real-world as possible without having to subject actual users to performance problems. If you can make your site as rugged as tax software, you'll be well-equipped for any scenario that comes your way.

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.

CloudEXPO Stories
Your job is mostly boring. Many of the IT operations tasks you perform on a day-to-day basis are repetitive and dull. Utilizing automation can improve your work life, automating away the drudgery and embracing the passion for technology that got you started in the first place. In this presentation, I'll talk about what automation is, and how to approach implementing it in the context of IT Operations. Ned will discuss keys to success in the long term and include practical real-world examples. Get started on automating your way to a brighter future!
The challenges of aggregating data from consumer-oriented devices, such as wearable technologies and smart thermostats, are fairly well-understood. However, there are a new set of challenges for IoT devices that generate megabytes or gigabytes of data per second. Certainly, the infrastructure will have to change, as those volumes of data will likely overwhelm the available bandwidth for aggregating the data into a central repository. Ochandarena discusses a whole new way to think about your next-gen applications and how to address the challenges of building applications that harness all data types and sources.
DXWorldEXPO LLC announced today that Big Data Federation to Exhibit at the 22nd International CloudEXPO, colocated with DevOpsSUMMIT and DXWorldEXPO, November 12-13, 2018 in New York City. Big Data Federation, Inc. develops and applies artificial intelligence to predict financial and economic events that matter. The company uncovers patterns and precise drivers of performance and outcomes with the aid of machine-learning algorithms, big data, and fundamental analysis. Their products are deployed by some of the world's largest financial institutions. The company develops and applies innovative machine-learning technologies to big data to predict financial, economic, and world events. The team is a group of passionate technologists, mathematicians, data scientists and programmers in Silicon Valley with over 100 patents to their names. Big Data Federation was incorporated in 2015 and is ...
Dynatrace is an application performance management software company with products for the information technology departments and digital business owners of medium and large businesses. Building the Future of Monitoring with Artificial Intelligence. Today we can collect lots and lots of performance data. We build beautiful dashboards and even have fancy query languages to access and transform the data. Still performance data is a secret language only a couple of people understand. The more business becomes digital the more stakeholders are interested in this data including how it relates to business. Some of these people have never used a monitoring tool before. They have a question on their mind like "How is my application doing" but no idea how to get a proper answer.
All in Mobile is a place where we continually maximize their impact by fostering understanding, empathy, insights, creativity and joy. They believe that a truly useful and desirable mobile app doesn't need the brightest idea or the most advanced technology. A great product begins with understanding people. It's easy to think that customers will love your app, but can you justify it? They make sure your final app is something that users truly want and need. The only way to do this is by researching target group and involving users in the designing process.