Welcome!

Mobile IoT Authors: Shelly Palmer, Elizabeth White, Pat Romanski, Liz McMillan, William Schmarzo

Related Topics: @CloudExpo, Java IoT, Agile Computing, @DevOpsSummit

@CloudExpo: Article

Testing Streaming Media | @CloudExpo #APM #IoT #DevOps #BigData

It’s not just for Netflix anymore

Here's the thing: as sure as we'll have another record-setting year for NFL streaming, you can also be sure that apps will fail and streaming services will go down. Whether you are dabbling in streaming or diving in whole-hog, you need to know what to do to give your users the most reliable experience possible. Here are a few tips.

Over the past few weeks, we've seen a ton of 'Back To The Future' themed posts all over social media, as we passed October 21, 2015 - the actual day that Marty and Doc visited in the plot of the second movie of the series. It was a fun time to reflect on what the movie got right about life in "the future," and more comically, what it got wrong.

We don't have hoverboards or hydrating pizzas, but one thing the movie got more of less right was video. Marty's 2015 house is littered with TV screens, controlled by voice, where he can access content on demand or instantly video chat with a manipulative coworker. These things and more happen every day now in the palm of your hand.

What 'Back To The Future 2' never got into (because let's face it, it would've been pretty boring) was how all that video got produced and delivered. We're well beyond just Netflix and YouTube - more and more companies are in the video streaming business these days.

Video Streaming Is Experiencing Explosive Growth
recent AppAnnie study ranked the top video streaming apps, and in this list, you can see the breadth and diversity of industries who are operating streaming video sites. The growth in usage, and even more importantly, revenue, is respectable. In the U.S., revenue is growing 3.2x year-over-year, but in countries like China, it's as high as 9.6x.

Nearly every communications company and cable operator has its own streaming site. So do sports networks that simulcast games around the world, and TV channels that stream clips, episodes, and bonus content.

Here's the thing: as sure as we'll have another record-setting year for NFL streaming, you can also be sure that apps will fail and streaming services will go down.

Tips for Top Video Streaming Performance
Whether you are dabbling in streaming or diving in whole-hog, you need to know what to do to give your users the most reliable experience possible. Here are a few tips.

1) Build It Right: Adaptive Bitrate Streaming
Remember when you had to wait for videos to buffer before being able to watch them? You'd want to watch something, but you'd have to wait 10 minutes while enough of it loaded so it could play continuously through the end.

Fortunately, buffering has largely been eliminated, thanks to both improvements in network capacity and technologies like adaptive bitrate streaming. With adaptive bitrate streaming, the available bandwidth and capacity of the client dictates how much data is sent to you by the server. So a server will start you off with low-quality video if your bandwidth is limited, and then it will fill in the gaps as it can. If you have a small screen, you don't receive as much data. If you hit a bump in the network, it can keep streaming with lower quality so your experience remains uninterrupted. People don't care much if a few seconds of video are fuzzy, but they freak out when the screen freezes 2 yards away from a touchdown.

Adaptive bitrate streaming isn't the only technology worth looking at for better streaming. Read this post and check out a few others.

2) Know Your Peaks
One of the most important things to know about your streaming system is where performance peaks out. You need to know how many users you can support. You can do this by developing a rich load testing process that helps you understand these dynamics.

Run load tests with different levels of hardware and different usage patterns to get a good picture of how much activity you can support. You'll want to play around with different viewing dynamics - for example, run scenarios where people are browsing and viewing lots of different videos, and run other scenarios where a large proportion of the userbase is watching the same thing.

As you understand your thresholds, record those and share them with your Operations team for monitoring purposes. In fact, a strong partnership with Operations is critical, and it's not a bad idea to run some amount of load testing in production because that will give you the most accurate picture of what you can truly support.

3) Monitor Performance
You have to be watching your viewers. Keep your Application Performance Monitoring (APM) solution operating at all times so you know if there are going to be issues. Combined with other basic network & system monitoring software, an APM solution gives you a solid understanding of how your app is holding up at all times.

Synthetic User Monitoring is the best place to start if you don't currently have an APM system in place. Synthetic users simulate the behavior of your users, operating alongside them in the live production environment. You continuously run synthetic user tests to see what kinds of problems your users may be experiencing, before those problems turn into full-scale crashes.

4) Stay on Top of Key Metrics
For traditionally-built streaming applications that use progressive downloading, there are some metrics that are important to track: bitrate, buffer fill, lag length, play length, and lag ratio. These metrics give you a few slices of information that ultimately tell you one thing: does a client have enough bandwidth to consume and process the video stream. You can read more about these metrics here.

If you are using adaptive bitrate streaming, there will be other metrics you'll want to pay attention to, specifically average bitrate (how much data are they getting on average) and startup time (how quickly does the server react to changing information from the client). With adaptive bitrate streaming, your users shouldn't be experiencing any interruptions or delays, however, you'll still want to know if their experience is subpar. These metrics will help you do that.

5) Remember the Ads
Finally, remember that your app doesn't operate in a vacuum. Videos are often streamed with ads on the same page, or other interactive elements from third-party sites. These can impact the user's experience.

No matter how good your infrastructure is, you could be beholden to someone else's. So test the full context of how your users experience your video. Understand how third-party components impact what users do and what users see. The more realistic your testing, the more confident you will be in your app's performance, especially when the pressure is on.

One thing - be cautious about involving live ads in your load test though. If you are heavily testing someone else's ad server, you'll impact the performance of everyone's ads, and that could come back to bite you. You may want to look towards service virtualization for this kind of testing.

Conclusion
In many ways, performance testing for video is no different that performance testing for anything else. However, some of the technologies involved - and certainly the user's expectations for quality - do give video performance testing its own twist.

If you'd like to dive deeper into the technical aspects of performance testing for video streaming, check out our recent post Stream On: How to Address and Avoid Streaming Media Performance Problems.

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
"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.
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...
"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.
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...
"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...
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.
"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...
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.
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 ...
An increasing number of companies are creating products that combine data with analytical capabilities. Running interactive queries on Big Data requires complex architectures to store and query data effectively, typically involving data streams, an choosing efficient file format/database and multiple independent systems that are tied together through custom-engineered pipelines. In his session at @BigDataExpo at @ThingsExpo, Tomer Levi, a senior software engineer at Intel’s Advanced Analytics gr...