How to Make Your Apps Ready for the Real World
August 27, 2013

Dave Berg
Shunra Software

The goal of every software developer and tester is to produce applications that meet user expectations and achieve business objectives. Standing in their way is the need to understand and predict the production environment and how real-world end users will experience the application.

To combat this challenge, Perfecto Mobile's Eran Kinsbruner, in his recent blog on APMdigest, Are Your Mobile Apps Ready for the Real World? states: "To prepare their mobile apps for the real world, enterprises need to conduct performance testing under real network conditions."

I couldn't agree more.

How do you do this? What concrete steps can you take throughout the development and production lifecycles to test under real network conditions and ensure positive business results?

Virtualized Users, Services and Networks

The most accurate way to test applications under real-world conditions is to discover them, capture them, and virtualize them in your development and test environments.

No development or test environment is truly complete without at least three virtualized components: users, services and networks. These three components build on each other to give an accurate portrayal of how your app will perform in the hands of end users.

Virtualized users, or load, represent synthetic traffic to your application. This load provides insight into how your application scales and reacts to various numbers of end users.

Your application likely is comprised of multiple services or dependencies, some within your own control and some from third parties like Google or Akamai. These services are required for application performance and function but often are unavailable in a test environment.

Leveraging virtualized services, or scripted replies based on real-world service responses within the test environment, allows the application to interact with its dependencies as it would once deployed.

End users and services communicate over networks. Virtualizing these network conditions give you the most accurate picture of how your application will perform once deployed. Network constraints like latency, bandwidth and packet loss can be accurately emulated, making test results more indicative of real-world application behavior.

Without running load or services tests through virtualized networks, you are assuming pristine network conditions, something of a dangerous fantasy when it comes to the real world, especially mobile.

Readying Apps from Development to Deployment

Once you have virtualization tools in place, in what phase of the application lifecycle do you use them?

Start using them as early as possible. You can put network virtualization to work for a single user test from a developer workstation, enabling a reliable view of application behavior even before putting the software on a live device. Virtualization early in the application life cycle will help you detect if you missed anything significant before that error gets lost in the midst of other developers'code.

When you build out test environments, incorporating this comprehensive virtualization strategy gives you the most relevant and meaningful results.

This way, you can test over multiple network variations to see how the app performs when faced with lowered bandwidth or increased packet loss, latency or jitter. Unlike in-the-wild testing, with virtualization you can control these variables. You can repeat tests under different, comparable network configurations.

Once you push the application into production, virtualization remains critical for app maintenance, patches or changing infrastructure. You can now virtualize the real-world conditions your APM tools capture and incorporate them into your test lab. This creates a feedback loop that supports any DevOps initiative.

Even Better than the Real Thing

Virtualization saves time and budget, keeps failing apps from reaching deployment and is more accurate and repeatable than in-the-wild testing. Application issues can be revealed early in their lifecycle and fixed before they affect end users. Once deployed, APM can provide more accurate data for more precise virtualized models. It is the best way to make your apps ready for the real world.

Dave Berg is VP of Product Strategy for Shunra Software.

Dave is the Vice President of Product Strategy at Shunra. He is responsible for the management of all Shunra’s products and technical partner relationships, and he leads our product management team. With more than fifteen years of experience in performance engineering, development, automation, vendor management, and professional services, Dave has extensive experience with distributed systems, real-world scenario testing, and complex root cause analysis. He is regarded as an expert in protocol design, mobile performance, and software performance engineering. Dave holds a bachelors degree in Computer Science and Discrete Mathematics from the University of Michigan, as well as holds certifications in product management and Agile product management.

The Latest

June 20, 2018

The larger the company size, the higher the proportion of low IT performers, according to the State of DevOps: Market Segmentation Report from Puppet, based on the 2017 State of DevOps Survey data ...

June 18, 2018

An overwhelming 83 percent of respondents have concerns about deploying traditional firewalls in the cloud, according to Firewalls and the Cloud, a survey conducted by Barracuda Networks...

June 14, 2018

Despite the vast majority of cloud management decision-makers believing that DevOps and microservice enablement are important, very few believe that their organizations are capable of delivering them today — a gap that is costing the average enterprise $34 million per year, according to new report from the Ponemon Institute ...

June 12, 2018

Dev teams are doing their best to give the customers what they want, but oftentimes find themselves in between a rock and a hard place. Teams are struggling to get up to speed with new tools that are meant to make their lives easier and more realistic to hit deadlines. With spring cleaning season upon us, take time this season to tune up agile processes and continue the work of advancing the shift towards DevOps ...

June 11, 2018

The ability to create a culture of DevOps is critical to any organization's ability to deliver applications and services at a high rate of speed, but can we clearly and concisely answer the question: What exactly is DevOps? Despite the best intentions, some large companies are struggling to understand what DevOps actually is, and what it takes to fully implement its concepts and reap its benefits ...

June 07, 2018

The Twelve-Factor App is a methodology that offers a 12-step best practice approach for developers to apply when building software-as-a-service apps that are both scalable and maintainable in a DevOps world. As software continues to be written and deployed at a faster rate and in the cloud, development teams are finding there is more room for failure and vulnerabilities. This blog series will discuss how to build a Twelve-Factor app securely ...

June 05, 2018

Everyone understands the importance of code quality for applications, particularly when DevOps results in releases becoming faster and faster, reducing the room for error. The same issues increasingly apply to databases, which are a vital part of DevOps workflows. Fail to integrate the database into DevOps and you'll face bottlenecks that slow down your processes and undermine your efforts ...

June 04, 2018

DevOps and security traditionally have been siloed functions and security is often seen as a policing function by DevOps team members. However, more mature business leaders are trying to bridge the gap between the two functions to achieve business excellence. This theme was evident from our recent survey where 39% of respondents cited that DevOps and development teams care greatly about their cybersecurity posture, showing that the silo between security/IT and development teams is diminishing ...

May 31, 2018

DEVOPSdigest asked experts from across the IT industry for their opinions on the top tools to support DevSecOps. Part 5, the last installment, offers some final thoughts about "tools" that are not necessarily technology ...

May 29, 2018

DEVOPSdigest asked experts from across the IT industry for their opinions on the top tools to support DevSecOps. Part 4 covers code and data ...

Share this