Welcome!

Linux Containers Authors: Yeshim Deniz, Pat Romanski, Liz McMillan, Elizabeth White, Stefana Muller

Related Topics: @DevOpsSummit, Microservices Expo, Linux Containers, Containers Expo Blog, @CloudExpo

@DevOpsSummit: Blog Feed Post

When You Can't Squeeze Your App | @DevOpsSummit #DevOps #Microservices

It’s time to look to the network

Developers are often caught between a rock and a hard place. They aren’t allowed to employ the tricks of the trade that can squeeze more performance out of their code because the consequences – technical debt stemming from impaired maintainability - are generally considered even worse. It’s not appropriate, for example, to use bit-shifting techniques to do simple multiplication because while it might be milliseconds faster, it isn’t always universally understood and thus can cause issues with long-term maintainability.

While we (developers) like to joke that “if it was hard to write it should be hard to read”, in the real world that’s not feasible. Coding standards exist to ensure some semblance of uniformity across time and developers and to reduce the time it takes to troubleshoot, modify, and enhance in the future.

So it is that optimization is often de-prioritized in favor of readability. Because until it matters, optimization doesn’t matter. Newcomer said it best:

Optimization matters only when it matters. When it matters, it matters a lot, but until you know that it matters, don't waste a lot of time doing it. Even if you know it matters, you need to know where it matters. Without performance data, you won't know what to optimize, and you'll probably optimize the wrong thing.

The result will be obscure, hard to write, hard to debug, and hard to maintain code that doesn't solve your problem. Thus it has the dual disadvantage of (a) increasing software development and software maintenance costs, and (b) having no performance effect at all.

-- Dr. Joseph Newcomer, “Optimization: Your Worst Enemy

There will undoubtedly, then, come a point in the balancing act between performance and maintainability where maintainability is going to win, even if the business demands more performance. That’s because performance has real business impacts.

Consider that “three hundred million dollars was spent to lay a high-speed fiber optic cable from the futures market in Chicago to the exchanges in New Jersey to improve the speed of stock trading (particularly high- frequency trading — HFT) by 3 milliseconds.” (What is worth 100 million per millisecond?)

That’s 100 million dollars per millisecond.

Now most organizations (like yours, probably )work in much bigger slices of time, like 100 milliseconds. A quick blink of your eye is 100 milliseconds. That still doesn’t seem like a lot, but it turns out that 100 milliseconds can actually be worth (many) millions.

milliseconds matterAnd even if you’ve managed to squeeze every last millisecond out of code, you may still be underperforming. That’s because apps are not islands. They have to be deployed on platforms and operating systems. They have to use the networking stack that’s given to them, whether it’s optimized for their app or not.

And sometimes it isn’t. And sometimes it can’t be, because you don’t have the information you need. A classic example is the use of HTTP compression. In the right situation – over a low-bandwidth (WAN or mobile) connection – it can be instrumental in improving the performance of an app or web site as perceived by the end user. In the wrong situation – over a high-bandwidth (LAN) connection – it can actually degrade (yes, as in ‘make worse’) – the performance.

Going all in on either option means necessarily condemning one group of users to delays.

That’s why it’s sometimes important to move upstream, from the app and its assigned network stack, to the proxy in front of it to optimize for performance. Because its networking stack was designed to be tweaked. It was designed to be configured on a per-app basis and provide specific TCP and HTTP optimizations that boost the performance of apps and APIs alike. When it’s a full-proxy it can double-down on those optimizations by tweaking its separate networking stacks. It can leverage additional caching and provide offload capabilities that reduce the load on the apps and APIs themselves which in turn helps keep performance ideal.

Sometimes there’s just nothing more a dev – or a DevOps – can do to squeeze out another 100 milliseconds from the app, API, or its app infrastructure. When that happens, it’s time to look upstream, to the proxy, to provide the boost the business needs.

More Stories By Lori MacVittie

Lori MacVittie is responsible for education and evangelism of application services available across F5’s entire product suite. Her role includes authorship of technical materials and participation in a number of community-based forums and industry standards organizations, among other efforts. MacVittie has extensive programming experience as an application architect, as well as network and systems development and administration expertise. Prior to joining F5, MacVittie was an award-winning Senior Technology Editor at Network Computing Magazine, where she conducted product research and evaluation focused on integration with application and network architectures, and authored articles on a variety of topics aimed at IT professionals. Her most recent area of focus included SOA-related products and architectures. She holds a B.S. in Information and Computing Science from the University of Wisconsin at Green Bay, and an M.S. in Computer Science from Nova Southeastern University.

IoT & Smart Cities Stories
The deluge of IoT sensor data collected from connected devices and the powerful AI required to make that data actionable are giving rise to a hybrid ecosystem in which cloud, on-prem and edge processes become interweaved. Attendees will learn how emerging composable infrastructure solutions deliver the adaptive architecture needed to manage this new data reality. Machine learning algorithms can better anticipate data storms and automate resources to support surges, including fully scalable GPU-c...
Machine learning has taken residence at our cities' cores and now we can finally have "smart cities." Cities are a collection of buildings made to provide the structure and safety necessary for people to function, create and survive. Buildings are a pool of ever-changing performance data from large automated systems such as heating and cooling to the people that live and work within them. Through machine learning, buildings can optimize performance, reduce costs, and improve occupant comfort by ...
The explosion of new web/cloud/IoT-based applications and the data they generate are transforming our world right before our eyes. In this rush to adopt these new technologies, organizations are often ignoring fundamental questions concerning who owns the data and failing to ask for permission to conduct invasive surveillance of their customers. Organizations that are not transparent about how their systems gather data telemetry without offering shared data ownership risk product rejection, regu...
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...
Poor data quality and analytics drive down business value. In fact, Gartner estimated that the average financial impact of poor data quality on organizations is $9.7 million per year. But bad data is much more than a cost center. By eroding trust in information, analytics and the business decisions based on these, it is a serious impediment to digital transformation.
Digital Transformation: Preparing Cloud & IoT Security for the Age of Artificial Intelligence. As automation and artificial intelligence (AI) power solution development and delivery, many businesses need to build backend cloud capabilities. Well-poised organizations, marketing smart devices with AI and BlockChain capabilities prepare to refine compliance and regulatory capabilities in 2018. Volumes of health, financial, technical and privacy data, along with tightening compliance requirements by...
Predicting the future has never been more challenging - not because of the lack of data but because of the flood of ungoverned and risk laden information. Microsoft states that 2.5 exabytes of data are created every day. Expectations and reliance on data are being pushed to the limits, as demands around hybrid options continue to grow.
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 ...
Enterprises have taken advantage of IoT to achieve important revenue and cost advantages. What is less apparent is how incumbent enterprises operating at scale have, following success with IoT, built analytic, operations management and software development capabilities - ranging from autonomous vehicles to manageable robotics installations. They have embraced these capabilities as if they were Silicon Valley startups.
As IoT continues to increase momentum, so does the associated risk. Secure Device Lifecycle Management (DLM) is ranked as one of the most important technology areas of IoT. Driving this trend is the realization that secure support for IoT devices provides companies the ability to deliver high-quality, reliable, secure offerings faster, create new revenue streams, and reduce support costs, all while building a competitive advantage in their markets. In this session, we will use customer use cases...