Welcome!

Java IoT Authors: Yeshim Deniz, Pat Romanski, Liz McMillan, Zakia Bouachraoui, Elizabeth White

Related Topics: @DevOpsSummit, Java IoT, Microservices Expo

@DevOpsSummit: Blog Post

HTTP/2: Changes, Challenges and Considerations | @DevOpsSummit #APM #DevOps

Brace yourself, HTTP/2 is coming

HTTP/2: Changes, Challenges and Considerations for Load & Performance Testers

Approved this February by the Internet Engineering Task Force (IETF), HTTP/2 is the first major update to HTTP since 1999, when HTTP/1.1 was standardized. Designed with performance in mind, one of the biggest goals of HTTP/2 implementation is to decrease latency while maintaining a high-level compatibility with HTTP/1.1. Though not all testing activities will be impacted by the new protocol, it's important for testers to be aware of any changes moving forward.

That being said, in this post we'd like to highlight some HTTP/2 changes, challenges and considerations as they relate to load and performance testing.

HTTP/2 Changes
Because of its compatibility with HTTP/1.1, HTTP/2 will not change the way existing websites or applications function. In fact, not only will your application code and HTTP APIs continue to work properly, but it's likely that your applications will also perform better and consume fewer client- and server-side resources. But what does this mean for performance testers?As we mentioned previously, the implementation of HTTP/2 will not affect all testing activities. For example, when it comes to automated software testing, the activity won't be impacted until the solution supports HTTP/2. In other words, if the browser supports the new protocol there won't be an issue.

From the moment a team begins to engage in protocol-based testing, however, HTTP/2 becomes a challenge. Testers will need a tool that records and supports the new protocol. Performance engineers will still have to give recommendations in terms of server configuration and architecture, which may be tricky unless there is a comprehensive understanding of each web layer (proxies, web server, caching server, load balancer, etc.) impacted by HTTP/2 implementation.

While we'll have to wait for the first real benchmarks to have a clear understanding of the technical behavior of each module, new modules are currently in beta release-so now is the time to play around and learn how to modify the settings.

HTTP/2 Challenges
Keep in mind, although HTTP/2 is built to decrease latency in order to improve page load speed in web browsers, this protocol will not guarantee good performance. It is in no way an excuse to skip load and performance testing.

As HTTP/2 becomes more prevalent, one of the largest challenges testing teams will face is the doubling up of test cases. Moving forward, most systems will support both HTTP/1.1 and HTTP/2. For performance testers, this means the creation of extra scenarios. Testing teams will need to generate load from users with browsers that do not support HTTP/2 and from users whose browsers support the latest release. These tests will be more complex and will result in more work for load and performance testers. Teams will have to validate that their project's web layers support the load of both protocols. Few companies will deploy HTTP gateways to avoid the extra management task associated with the use of both protocols, but in these cases, HTTP gateways will need to be tested to minimize latency.

Of course, HTTP/2 also comes with a cost. Companies will need to bring on high-level experts that can upgrade web servers, vendors will need to update their own equipment, and all of this will need to be tested. Load and performance testers will need to understand this new protocol and the modules of each vendor to properly configure the architecture. There will be a tricky, expensive learning curve. However, as the first engineers interact with HTTP/2, their knowledge and expertise may help lessen its severity.

HTTP/2 Considerations
Because so little is known about the widespread effects HTTP/2 may eventually have, there are still several considerations and questions floating about that, when addressed, may change the game for load and performance testers.

Timing is a huge concern. How long will it take before every browser supports the new protocol? Sourcesassert that HTTP/1.1 will be around for at least another decade, and most servers and clients will have to support both HTTP/1.1 and HTTP/2 standards. This means twice as many test cases resulting in a more time consuming, expensive, labor intensive testing process.

Before the testing process even begins, however, testers will need to determine an ideal response time with HTTP/2-but how will we measure the response time to download resources pushed by the server? Historically, we've measured it as the time between the client sending a request to the server and receiving the requested data. With HTTP/2, this logic won't make sense anymore.

Regardless, at some point, new benchmarks and limits must be set in order to establish a consistent, industry-wide standard. Already, big Internet players like Microsoft and Twitter have implemented the protocol and they, along with other early adopters, will begin to shape and mold these standards.

HTTP/2: No Pain, No Gain
Though it may cause load and performance testing teams some grief in terms of cost and workload, HTTP/2 will ultimately make our applications faster, simpler and more robust by offering new opportunities to optimize apps and improve performance.

Moving forward, testers should work with app architects and developers to understand when their own application will support HTTP/2 - it will need to be tested. As browser support for HTTP/2 becomes more widespread, tester will also need to know which browsers have been optimized for the protocol in order to include those in their test plan.

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.

IoT & Smart Cities Stories
Early Bird Registration Discount Expires on August 31, 2018 Conference Registration Link ▸ HERE. Pick from all 200 sessions in all 10 tracks, plus 22 Keynotes & General Sessions! Lunch is served two days. EXPIRES AUGUST 31, 2018. Ticket prices: ($1,295-Aug 31) ($1,495-Oct 31) ($1,995-Nov 12) ($2,500-Walk-in)
Andrew Keys is Co-Founder of ConsenSys Enterprise. He comes to ConsenSys Enterprise with capital markets, technology and entrepreneurial experience. Previously, he worked for UBS investment bank in equities analysis. Later, he was responsible for the creation and distribution of life settlement products to hedge funds and investment banks. After, he co-founded a revenue cycle management company where he learned about Bitcoin and eventually Ethereal. Andrew's role at ConsenSys Enterprise is a mul...
Nicolas Fierro is CEO of MIMIR Blockchain Solutions. He is a programmer, technologist, and operations dev who has worked with Ethereum and blockchain since 2014. His knowledge in blockchain dates to when he performed dev ops services to the Ethereum Foundation as one the privileged few developers to work with the original core team in Switzerland.
René Bostic is the Technical VP of the IBM Cloud Unit in North America. Enjoying her career with IBM during the modern millennial technological era, she is an expert in cloud computing, DevOps and emerging cloud technologies such as Blockchain. Her strengths and core competencies include a proven record of accomplishments in consensus building at all levels to assess, plan, and implement enterprise and cloud computing solutions. René is a member of the Society of Women Engineers (SWE) and a m...
Digital Transformation and Disruption, Amazon Style - What You Can Learn. Chris Kocher is a co-founder of Grey Heron, a management and strategic marketing consulting firm. He has 25+ years in both strategic and hands-on operating experience helping executives and investors build revenues and shareholder value. He has consulted with over 130 companies on innovating with new business models, product strategies and monetization. Chris has held management positions at HP and Symantec in addition to ...
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...
CloudEXPO | DevOpsSUMMIT | DXWorldEXPO are the world's most influential, independent events where Cloud Computing was coined and where technology buyers and vendors meet to experience and discuss the big picture of Digital Transformation and all of the strategies, tactics, and tools they need to realize their goals. Sponsors of DXWorldEXPO | CloudEXPO benefit from unmatched branding, profile building and lead generation opportunities.
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 busine...
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 ...
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...