<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by David Lebutsch on Medium]]></title>
        <description><![CDATA[Stories by David Lebutsch on Medium]]></description>
        <link>https://medium.com/@lebutsch?source=rss-ec2adc578c60------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*pe1tg_Ape5M2s-VRbjfLbA.jpeg</url>
            <title>Stories by David Lebutsch on Medium</title>
            <link>https://medium.com/@lebutsch?source=rss-ec2adc578c60------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 06:39:27 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@lebutsch/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[The technical and cultural implications of ‘as a Service’ anywhere]]></title>
            <link>https://medium.com/ibm-data-ai/the-technical-and-cultural-implications-of-as-a-service-anywhere-d02ccf7a31c9?source=rss-ec2adc578c60------2</link>
            <guid isPermaLink="false">https://medium.com/p/d02ccf7a31c9</guid>
            <category><![CDATA[data-science-perspective]]></category>
            <category><![CDATA[mlops]]></category>
            <category><![CDATA[anywhere-software]]></category>
            <category><![CDATA[hybrid-cloud]]></category>
            <category><![CDATA[as-a-service]]></category>
            <dc:creator><![CDATA[David Lebutsch]]></dc:creator>
            <pubDate>Wed, 01 Sep 2021 13:03:09 GMT</pubDate>
            <atom:updated>2021-09-28T05:29:49.669Z</atom:updated>
            <content:encoded><![CDATA[<h3>The Technical and Cultural Implications of ‘as a Service’ anywhere</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gLrR5dyOouzLvJYfhIWd7A.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@jamie452?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Jamie Street</a> on <a href="https://unsplash.com/s/photos/anywhere?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p><em>Anywhere [1] computing</em>, the promise of portability in Information Technology, has been a buzzword for decades. Why did this concept grab our attention and continue to do so? Where did it start and why is it still relevant today? In this post, I will discuss the origins and history of this term, its importance, and why we should still care about it going into the 2020s. It is my belief that the 2020s will see two major movements with <em>anywhere computing:</em></p><ol><li><strong>Hybrid multi cloud: </strong>heterogeneous interoperable public and private clouds. [2]</li><li><strong>‘As a Service’</strong>: acceleration of software delivered as standardized “as a service”.</li></ol><p>First, I will go into the origins of <em>anywhere computing</em>, and then I will discuss the cloud generally and the tough decisions customers must make when deciding on their cloud strategy. Additionally, I will discuss where popular vendors started their “as a service anywhere” journey and what strengths and weaknesses they have. Finally, I will explain my hypothesis as to why I believe “as a service anywhere” is everyone’s future.</p><h3>History</h3><p>The earliest incarnation of the <em>anywhere</em> concept began with the move away from the centralized homogeneous Glasshouse Computing of the 1960s to the rise of UNIX® [3] workstations in the 1970s. From then on, the move to increasingly portable computing continued with the rise of PCs in the 1980s, which accelerated heterogeneity in computing. The Java programming language, created in 1991, offered the promise of the true <em>anywhere</em> benefit of ‘write once, run anywhere’.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mpMimRyj-9ut4HVXYJ86DA.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@whoisdenilo?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Who’s Denilo ?</a> on <a href="https://unsplash.com/s/photos/glasshouse?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>The first decade of the 21st century brought about the explosive growth of the Internet. Suddenly, anyone, anywhere, could communicate with billions of others, anywhere over TCP/IP. In the last decade, we have seen both the trend towards the Glasshouse Computing paradigm with the rise of homogeneous and often proprietary public clouds and the trend towards a true computing everywhere with Internet-connected edge devices and smartphones that made computing almost ubiquitous.</p><p>While in the 1980s, PCs promised economic value from “<em>computing at your fingertips”</em>, promising independence from the slow and bureaucratic ivory towers of corporate IT, subsequent modernizations brought more extensive changes to enterprise IT:</p><p>● Hypervisors significantly reduced capital expenses</p><p>● Application-server frameworks such as Java 2 Enterprise Edition® [4] increased developer and operator effectiveness</p><p>● Micro services and agile methodology increased product owner and developer velocity</p><p>● Containers such as Docker increased velocity of developers delivering value to production and using Kubernetes as the platform, or middleware, enabled management of containerized software at scale at relatively low cost</p><p>The technological, organizational, and cultural trends above changed how software was created and delivered to production. New learnings and technological advancements further reduced capital and operational expenses and increased developer effectiveness, and these processes continue in the present time. Consequently, these innovations can directly impact how much economic value a creator and consumer of software can achieve.</p><h3>The Cloud</h3><p><em>“According to Gartner, through 2024, nearly all legacy applications migrated to public cloud infrastructure as a service will require optimization to become more cost-effective.” [5]</em></p><p>Application optimization is most often done in stages. The first stage is lift and shift to public cloud infrastructure as a Service. The second stage is replacing storage services like databases with databases as a Service. The third stage is a refactoring of the application to run on elastic platforms such as Kubernetes as a Service. “<em>As a service” </em>is the optimization medium used to benefit from seemingly infinite capacity and pay per use.</p><p>Cloud computing revolutionized the enterprise IT environment. No longer did server rooms have to be maintained on premise by a team of dedicated devOps specialists. In the last decade, businesses have primarily moved to using public clouds. These public clouds have generally optimized their platforms for two primary use cases:</p><p><strong>1.</strong> <strong>‘Lift and shift’ existing workloads to their platforms. </strong>This replaces capital expenditures with operational expenditures, and reduces operational expenditures by consuming software as a service rather than self-managed software.</p><p><strong>2.</strong> <strong>Attract developers to their platforms by reducing startup costs and increasing velocity </strong>by offering consumption-based versus capacity or allocation-based services. This enables developers to start small by using software as a service rather than self-managed software.</p><figure><img alt="allocation-based services have pre-provisioned capacity, charge for the lifetime of resources, coarse-grained billing, and compute instances, database nodes, container orchestration instances. consumption-based services have zero floor, charge per unit of consumption, fine-grained billing, and network data transfer, fPaaS, API gateways, and load balancers." src="https://cdn-images-1.medium.com/max/416/1*-8QOC3VuxUoy-c4vC7MlCQ.png" /><figcaption>Source: <a href="https://www.gartner.com/en/documents/3982411/how-to-manage-and-optimize-costs-of-public-cloud-iaas-an">https://www.gartner.com/en/documents/3982411/how-to-manage-and-optimize-costs-of-public-cloud-iaas-an</a></figcaption></figure><p>Every public cloud vendor has specific platform optimizations that can often lead to differentiated proprietary technologies and services. These proprietary APIs and services in turn can complicate running workloads on multiple public clouds or migrating workloads between them. Public clouds then represent the new homogeneous glasshouse for IT, locking in workloads with their proprietary APIs, technologies, and services.</p><p>Homogeneous platforms are not entirely a bad thing. A mature homogenous platform can offer a broad set of well-integrated capabilities. However, each homogeneous platform may come with a vendor lock-in cost. These costs can make application migrations to other public clouds expensive, could lack specific features that are required, or are not available where needed, such as where the data happens to be.</p><p>To circumvent these lock-ins and reduce dependency on one specific cloud vendor, customers often use an abstraction layer to make their workloads more portable across public clouds. Popular abstraction layers include RedHat OpenShift, VMWare, and Cloud Foundry, and each comes with their own vendor lock-ins. Abstraction layers make moving workloads between public clouds easier. For example, if you have 1,000 applications on OpenShift, you can move your entire OpenShift estate from AWS to Azure to Google Cloud Platform and back to AWS with relative ease. However, migrating 1,000 applications from OpenShift to any of the Kubernetes-offered services, such as AWS EKS, Azure AKS, or GCP GKE, is a more expensive migration.</p><h3>Business How Tos and Recommendations</h3><p>Public cloud “as a Service” is revolutionary because of its mode: consumption-based, self-service, and pay-as-you-go. Clients can scale applications up and down, offload infrastructure management, and rapidly consume innovative technologies immediately. Transparent prices give customers clarity on what they will pay and how costs compare between vendors. This same transparency enables customers to immediately consume without negotiations, physical provisioning, or procurement cycles.</p><p><em>About 35% of public cloud costs are wasted according to various reports, and billions are spent on unused capacity. [6]</em></p><p>We researched how companies could cut down on wasteful spending on unused capacity. Let’s say a customer is running an on premises VMWare infrastructure at only 70% utilization. If this customer wanted to move everything “as-is” to a public cloud IaaS where it runs at 70% utilizations, the customer’s <a href="https://www.google.com/url?sa=t&amp;rct=j&amp;q=&amp;esrc=s&amp;source=web&amp;cd=&amp;ved=2ahUKEwjr-vq17oTyAhV6HzQIHX02AYMQFjAQegQIIRAD&amp;url=https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FTotal_cost_of_ownership&amp;usg=AOvVaw3tp80ORiqTE4U8fI8Iu0qK">Total Cost of Ownership</a> will likely increase due to the capacity-based billing of IaaS [7] (you pay for 100% capacity, yet use only 70%). In order to see a benefit from the capacity-based billing models of public clouds, businesses must refactor their applications to take advantage of the potential economies of scale and elasticity of clouds. To get the best value, though, a business should choose the highest abstracted platform possible to take advantage of moving from a capacity-based billing model to a consumption-based billing model that corresponds to a company’s actual usage.</p><p>Overall, the best practice today is for a company to migrate IT to Application Frameworks and Databases as a Service to take advantage of consumption-based pricing, rather than operating their own middleware and databases on public cloud infrastructure. New advances in serverless computing platforms such as AWS Lambda or <a href="https://cloud.ibm.com/docs/codeengine?topic=codeengine-about">IBM Cloud Engine</a>, enable customers to start small and rapidly scale when required. Serverless computing takes the pay-as-you-go model to the extreme by charging per compute unit millisecond.</p><p><em>Having an application that accrues cost only when actively used allows you to better align its cost to the value it generates.</em></p><p>In most markets, such as database management systems (DBMS), the SaaS delivery model is outgrowing the software delivery model [8]. IDC predicts the following markets will see software deployment shrink, and their “as a Service” presence grow:</p><p>● Content Analytics and Search Software</p><p>● End-user Query, Reporting, and Analysis</p><p>● Enterprise Performance Management Applications</p><h3>Data Challenges</h3><p>Applications store, use, and transform data. Consuming these applications as a Service means movement of data to the service provider. Businesses, however, often have data that lives in many locations. In a 2021 study by Forrester, 99% of respondents stated that their enterprise data is at least partially distributed.</p><figure><img alt="question — “to what extent is your data centralized compared to decentralized/distributed?” 61% say our data is mostly/completely centralized, 2% say our data is mostly/completely decentralized/distributed and 36% say our data is a mix of centralized and decentralized/distributed" src="https://cdn-images-1.medium.com/max/416/1*vqw6pRi-Uw43xT1Ga9Z5ng.png" /><figcaption>Base: 270 global decision-makers responsible for cloud, infrastructure, or data/AI strategies and data security and compliance strategies. Note: Percentages may not total 100 because of rounding. Source: A commissioned study conducted by Forrester Consulting on behalf of IBM, December 2020</figcaption></figure><p>In this same study, respondents confirmed that in the next few years their on-premises data estates will shrink while their data estates on public and virtual private clouds will grow.</p><figure><img alt="on premises: 35.8% today, 29.0% in 3 years, a decrease of 19%. on private cloud: 31.2% today, 34.%% in 3 years, an increase of 10.6%. on public cloud: 33% today, 36.3% in 3 years, an increase of 10%" src="https://cdn-images-1.medium.com/max/416/1*ICK14uAKvO06iaVW9eWjLQ.png" /><figcaption>Base: 270 global decision-makers responsible for cloud, infrastructure, or data/AI strategies and data security and compliance strategies. Source: A commissioned study conducted by Forrester Consulting on behalf of IBM, December 2020</figcaption></figure><p>Additionally, the study found that companies have to accept expensive trade offs due to the difficulty of moving data. Within the last year, cloud providers have begun to develop technology to address data challenges and concerns.</p><figure><img alt="challenges: 82% finding staff with right skills to leverage data and train models, 79% meeting data security and compliance requirements, 78% breaking down data silos, 78% getting high-quality data, 78% using data to train models, 77% transferring data without latency, 76% understanding AI/ML fits into our multi cloud strategy, 72% collaborating between teams" src="https://cdn-images-1.medium.com/max/416/1*b2q6v2Q0E1TFOQW8WMYSgg.png" /><figcaption>Base: 270 global decision-makers responsible for cloud, infrastructure, or data/AI strategies and data security and compliance strategies. Source: A commissioned study conducted by Forrester Consulting on behalf of IBM, December 2020.</figcaption></figure><p>If data can’t be moved, technology that enables services to use the data anywhere “as a Service” allows customers to benefit from the cost-benefits of the “as a Service” model while retaining their data location. Businesses can for the first time use consumption-based models and services that move to where the data is rather than the data moving to the service.</p><h3>Different Strategies</h3><figure><img alt="a hand-drawn chart showing exponential growth with a mechanical pencil, a metallic pen, and a metal ruler around the edges lying on a wooden desk" src="https://cdn-images-1.medium.com/max/1024/1*XvX5H2x_urnYKNS6_PCUnA.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@isaacmsmith?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Isaac Smith</a> on <a href="https://unsplash.com/s/photos/strategies?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>The hyperscalers (AWS, Azure, GCP) have prioritized expansion of their cloud service platforms to customer-on-premises before supporting competitive cloud service platforms. Vendors without a cloud service platform themselves, such as Snowflake, Mongo, Dremio, and others, quickly started supporting all three major cloud services providers, but continue to lack on-premises support. IBM, though, with its niche cloud service platform, has the most complete vision for offering services on-premises and supporting the three major hyperscalers.</p><p>Early adopters should choose carefully which limitations they can initially accept, whether those are features and functions or support of a specific cloud service provider or on-premises. What follows is a summary of the strategies hyperscalers and service vendors currently employ</p><p><strong>AWS Outpost</strong></p><p>AWS Outpost started as a hardware extension of AWS cloud to on-premises data centers. Initially, only a few AWS services were available on Outpost, but that list is growing. Outpost’s main limitation is that it is only available on-premises and does not support third-party clouds. In early 2021, AWS [9] announced Elastic Container Service (ECS) Anywhere and Elastic Kubernetes Service (EKS) Anywhere. Currently, ECS and EKS Anywhere focus on running container-based workloads, and no additional services such as databases have been announced to run on top of ECS and EKS Anywhere yet.</p><p><strong>Microsoft Azure Stack</strong></p><p>Microsoft Azure Stack, similar to Outpost, is a hardware extension of Azure Cloud to on-premises. It currently does not support any third party clouds. Microsoft Azure Arc is an extension of the Azure control plane (Azure Resource Manager) to on-premises and third party clouds. Arc does not bring its own Kubernetes, but can manage existing Kubernetes deployments such as OpenShift. Arc supports a limited set of database services on top of customer-provided Kubernetes. Arc Machine Learning has also been announced.</p><p><strong>Google Anthos</strong></p><p>Google Anthos focuses on application modernization by enabling customer-containerized workloads to run on Google Kubernetes Engine (GKE) anywhere. Anthos comes with GKE as a service, but can also control existing Kubernetes deployments such as OpenShift. Currently, the only service available other than Kubernetes is Anthos BigQuery Omni, which Google plans to offer on third party clouds.</p><p><strong>IBM Satellite</strong></p><p><a href="https://www.ibm.com/cloud/satellite">IBM Satellite</a> offers OpenShift as a Service anywhere, both on-premises and on third-party clouds. It allows customers to control OpenShift as a Service from a single pane of glass, addressing application modernization and container as a Service use cases. IBM also has a roadmap to bring its Cloud Paks, essentially the whole breadth of the IBM software portfolio from databases to middleware, to security and AI, as a Service to Satellite. IBM is unique in having strong support for all cloud vendors and on-premises solutions, along with a breadth of business services no other vendor has.</p><p><strong>Service Vendors</strong></p><p>Snowflake, Dremio, Instana, Mongo, and other service vendors lacking their own cloud typically offer their service on all three hyperscalers, but not on-premises. Some offer customer-managed software for use on-premises, but most focus on cloud as a service-only delivery model.</p><p><strong>Summary</strong></p><p>Anthos and EKS Anywhere seem to focus on application modernization, but currently lack services such as databases to help customers on their journey to as a Service anywhere. Azure Arc on database as a Service anywhere, but lacks application modernization capabilities. IBM has the most complete vision. It offers OpenShift anywhere, the most complete platform for application modernization, including all IBM Cloud Paks as a Service, as well as cloud services from the IBM cloud catalog such as IBM Cloud Databases.</p><h3>Conclusion</h3><p>The next decade will bring further fragmented enterprise data estates. Data movement challenges are likely to increase due to regulations and privacy laws. There is potential that some public cloud vendors may lock in their customers via costs such as egress charges. Enterprises will look to further their adoption of consumption-based, self-service, pay-as-you-go software models. This should help lower their costs and increase development velocity. The use of “as a Service” anywhere throughout the IT stack should increase efficiency by:</p><ol><li>Having workloads benefit from low-latency connectivity to co-located data without requiring additional software management.</li><li>Processing sensitive or regulated data can be done in the data plane, next to the data. This allows the processing to happen without having to move the data.</li><li>Rolling out workloads anywhere can be done faster, as the operational burden is with the service provider.</li><li>Having a single pane of glass, from which workloads in all locations are managed from one management service for all locations.</li><li>Administrative and governance policies across multiple locations can be managed from one management service for all locations.</li></ol><p>Enterprises will increasingly expect their software vendors to offer these capabilities “as a service” anywhere their data is — which increasingly is everywhere.</p><p>The hyperscalers — AWS, Azure, GCP — will continue to focus on extending their cloud service to on-premises. Eventually, their focus will shift to offering their services on their competitor’s clouds. The hyperscalers lack of supporting their competitors platforms presents an opportunity for “as a Service anywhere” vendors without their own cloud, or a niche cloud, such as IBM, Snowflake, and others.</p><p>The ability to offer software as a service next to data will define how big of a market a vendor can address. Much data remains in on-premises data centers. IBM currently has the most complete vision offering software as a Service anywhere, including all three major hyperscalers and on-premises, addressing the biggest possible market for its software as a service anywhere.</p><p>What do you think? How will the various vendor strategies play out? What choices will customers make? Will they choose more homogenous platforms or heterogeneous abstraction layers? I would love to read your comments!</p><p><strong>REFERENCES</strong></p><p>[1] <a href="https://en.wikipedia.org/wiki/Write_once,_run_anywhere">https://en.wikipedia.org/wiki/Write_once,_run_anywhere</a>; <a href="https://en.wikipedia.org/wiki/Decentralized_computing">https://en.wikipedia.org/wiki/Decentralized_computing</a> ; <a href="https://en.wikipedia.org/wiki/Software_portability">https://en.wikipedia.org/wiki/Software_portability</a></p><p>[2] Arvind Krishna Interview, Think 2019, <a href="https://www.youtube.com/watch?v=hVQIrLpoyG4">https://www.youtube.com/watch?v=hVQIrLpoyG4</a>; Arvind Krishna Interview, Red Hat Summit 2019, <a href="https://www.youtube.com/watch?v=_3Gs_Ue5ujc&amp;t=6s">https://www.youtube.com/watch?v=_3Gs_Ue5ujc&amp;t=6s</a></p><p>[3] UNIX is a registered trademark of The Open Group</p><p>[4] Oracle, Java, and MySQL are registered trademarks of Oracle and/or its affiliates</p><p>[5] How to Manage and Optimize Costs of Public Cloud IaaS and PaaS; Gartner (G00465208); Meinardi, Clayton, Mar. 2020</p><p>[6] Why there is so much cloud waste; Dzone.com; Aman Juneja, Oct 2019, <a href="https://dzone.com/articles/why-is-cloud-waste-so-huge">https://dzone.com/articles/why-is-cloud-waste-so-huge</a></p><p>[7] Predicts 2020: Better Management of Cloud Costs, Skills and Provider Dependence Will Enable Further Cloud Proliferation; Gartner (G00450736); Dec 2019</p><p>[8] The Future of the DBMS Market Is Cloud; Gartner (G00347472); Jun 2019</p><p>[9] ‘Go faster’ with core cloud services: AWS re:Invent 2020 roundup; 451 Research; Fellows, Rogers, et. al, Dec. 2020</p><p>Google demonstrates Anthos momentum; 451 Research; Fellows; Sept. 2020</p><p>How to Bring the Public Cloud On-Premises With AWS Outposts, Azure Stack and Google Anthos; Gartner (G00466935); Wright, Hewitt, et. at., Apr. 2020</p><p>Release It!: Design and Deploy Production-Ready Software; Michael Nygard</p><p>Breaking the fourth wall: New multicloud models bring the hyperscaler cloud to the on on-premises datacenter; 451 Research; Rogers, Atelsek, February 2021</p><p>Cloud Price Index: cloud-to-ground and cloud-around; 451 Research; Rogers, Atelsek, January 2021</p><p>Differences Between AWS Outposts, Google Anthos, Microsoft Azure Stack and Azure Arc for Hybrid Cloud; Gartner (G00720202); Sep 2020</p><figure><img alt="a hand holding a glass ball with multi-colored streaks in front of a multicolored streak background" src="https://cdn-images-1.medium.com/max/1024/1*fBtpUbYSD70pqcGHbO76Uw.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d02ccf7a31c9" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ibm-data-ai/the-technical-and-cultural-implications-of-as-a-service-anywhere-d02ccf7a31c9">The technical and cultural implications of ‘as a Service’ anywhere</a> was originally published in <a href="https://medium.com/ibm-data-ai">IBM Data Science in Practice</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Service level agreement for gracefully degrading services]]></title>
            <link>https://medium.com/service-level-agreement-for-gracefully-degrading/service-level-agreement-for-gracefully-degrading-services-b6c101ce6980?source=rss-ec2adc578c60------2</link>
            <guid isPermaLink="false">https://medium.com/p/b6c101ce6980</guid>
            <category><![CDATA[graceful-degradation]]></category>
            <category><![CDATA[service-level-agreement]]></category>
            <dc:creator><![CDATA[David Lebutsch]]></dc:creator>
            <pubDate>Tue, 04 Jun 2019 16:30:48 GMT</pubDate>
            <atom:updated>2019-06-04T16:30:48.872Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Written by </em><a href="https://medium.com/u/ec2adc578c60"><em>David Lebutsch</em></a><em>, </em><a href="https://medium.com/u/5c74e974f5b"><em>Tim Waizenegger</em></a><em> &amp; </em><a href="https://medium.com/u/65fdf98d564f"><em>Daniel Pittner</em></a><em> — 4th June 2019</em></p><p><strong>Charly the customer</strong><br>Charly is the buyer of cloud services. Charly buys a persistency service or ‘Data Science’ service because his user tell him to do so after having evaluated competing services in trials. In Charly’s view, he buys a single static service. It is the responsibility of the service provider to decide which and how many micro services are used under the hood. They can add, remove, change or replace micro services as long as the static view of the service from Charly’s perspective does not change.<br>Charly cares about his customers’ (the user) happiness with the service. Whether or not Charly recommends the service to others, depends mostly on feedback from his customers (users). <br>The SLA of the service is only a concern to Charly in the case of an outage, when he might receive service credits as compensation. At that point the net promoter score (<a href="https://en.wikipedia.org/wiki/Net_Promoter">NPS</a>) has already been negatively affected and a small credit compensation will not reverse that.</p><p><strong>Ulrike the user of a service</strong><br>Ulrike does not care about the implementation details of the service or whether the service provider changes something in the background. <br>She will use some features and functions more often than others and judge the service based on her user experience. Whether she recommends the service to others will depend on the availability of the desired features, whether they perform as expected and return the expected results, as well as other criteria like a well-designed UI or API.<br>Ulrike is not satisfied when a feature or function she wants to use is not available or when performance is so bad, that she has no result even after she went to the cafeteria to grab a coffee. Ulrike considers some features to be more critical than others. For example, if changing her profile picture is temporarily not possible, she just shrugs and moves on to do something else. On the contrary, she has an important conference call and five minutes before the call, the calendar UI just hangs with a silly hourglass. She can’t get to the passcode and also doesn’t know when the calendar will work again. She misses the call and of course she blames the calendar service. From now on she believes that this service is terrible and lobbies Charly to buy a calendar tool from a different vendor. If her experience had been to see an older calendar version from a cache, she would have been able to dial into the meeting, because the meeting had been scheduled 2 weeks ago. She might not even have noticed that a micro service was down.<br>Ulrike does not care about a generic SLA of the service, she considers some features more important than others. Furthermore, availability alone is typically not sufficient to measure her happiness (NPS) with a service. The service also needs to be responsive (usable) when available.</p><p><strong>Theo the tribe leader</strong><br>Theo’s mission is to lead the development of services which Ulrike loves and Charly buys because they are very cost competitive. Theo is monitoring the NPS of his services very closely and understands everything about how his buyers and users experience his services. Static measurements of a binary state available / not available are not enough for Theo. He needs to know which features users considers more important than others and focus on the responsiveness of the service components most important to the users. Theo also decides when it is acceptable to respond with stale information from a cache rather than no information at all. He also decides which transactions to fail when the billing system is down. It is a trade-off between happy customers but un-billed transactions, and disgruntled customers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jhZkLKb0pK2S54fPrN8QAw.png" /><figcaption>Static outside look on a dynamic service</figcaption></figure><p>Let’s talk about the relation between SLA, graceful degradation, and component availability. We’ll use the example of a hypothetical comments service that allows users like Ulrike to comment on all kinds of assets in the Data Science Offering. <br>Let’s assume that every single component of this service fulfills the 99,95% availability mandate. Note that “available” also means meeting the response time expectations. There is one thing worse than returning an error: returning a slow response. Even though we may not guarantee specific response times as part of a customer SLA, it goes without saying that we should adhere to certain response time limits as part of our availability mandate.</p><p>For our hypothetical comments service, let’s use an example architecture similar to many others:</p><ul><li>Shared Nginx as reverse proxy and facade to the outside world</li><li>UI tier to provide user interface</li><li>API tier that models the domain objects and provides CRUD on comments</li><li>Cloudant tier for persisting comments</li></ul><p>We can calculate the availability of the comment service based on its architecture outlined above. Every component has an assumed availability of 99.95%. Any request can only succeed if all four components are working correctly. For this reason, Ulrike will experience an availability that is 99.95% to the power of four.</p><p>Availability decreases with the number of components in the critical call chain. The only mitigation is redundancy, which comes at a price. This means that the SLA will focus on hitting the sweet spot between cost and availability.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/746/1*b1vghF_MIZdpzDkGZ_Vd0w.png" /><figcaption>Availability calculation for dependent services</figcaption></figure><p><strong>What can be done to improve availability; </strong>99.8% is less than our availability objective (99.95%)? As stated above, redundancy is the solution. One idea is to introduce Redis as a cache for Cloudant in the API component, that will hold information which has recently been read from Cloudant. When the API can’t talk to Cloudant or it doesn’t get the response fast enough, it could still return a comment from the cache if the cache has the value. <br>Since comments don’t frequently change, there is no issue in serving outdated comments. However, as Cloudant is our persistence layer, the availability of the “add a comment” feature does not improve when adding a cache.</p><p>What does that mean? We’ve just introduced a graceful degradation mode into our service. If all things work fine, Ulrike can read and write comments. But when Cloudant fails, Ulrike can still read all comments, which may actually be sufficient for the majority of our customers.<br>What’s the availability for customers who want to read comments? To simplify the math, let’s assume all the comments are in the cache. <br>Compared to the original scenario, the API can fall back to reading a comment from Redis if Cloudant isn’t reachable, so there will only be an error if Cloudant and Redis are unreachable at the same time. The probability for this event is (1–0.9995)² which gives us an availability of 99,999975% for the combined Cloudant+Redis tier. This seems impressive, but after adding the other three components the total availability equates to only 99.85%.</p><p>Taking into account that the cache also adds complexity and cost to our service, it’s not an obvious decision whether to include the cache or not.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/749/1*pFqTe2pXNYV7hXqURVAgZA.png" /><figcaption>Availability calculation when adding Cache</figcaption></figure><p><strong>How can availability be improved further?</strong> The impact of the additional cache is diminished by the other three components in the call chain that need to succeed before the cache even comes into play. So any availability improvement of the components in the chain before Cloudant/Cache will reduce the critical path but also limit functionality. For example if the UI is available 100% but the API fails we would be able to show empty pages with 100% certainty. For this reason, we’re adding a CDN cache to our UI tier. This will not only benefit availability but also the user experience, since the CDN will speed up asset loading. In case the UI tier is down, Nginx forwards users to the CDN, which holds a static version of the UI. However, in this case no API calls can happen since the UI tier is needed for that.</p><p>To conclude, we’ve introduced another graceful degradation mode into our service. From the CDN, we can ship any static content to Ulrikes browser. We can make sure all things Ulrike already has in her browser cache are still usable, but we can’t show any comments she doesn’t have in her cache. So we’re talking about a scenario, where Ulrike can still view the site, including comments she already has in her local cache, but she can’t load new comments or add new comments.<br>Arguably we could do some further steps with using browser local storage to queue up failed comment adds to still deliver the “add a comment” function to Ulrike. Twitter has some good examples for such mechanisms.</p><p>Still, the same points as with the cache apply: a CDN will increase cost and add complexity to our service. While the availability improvements are very good in this case, the value of the scenario to Ulrike may be problematic here. It’s not an easy decision in this case either.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/997/1*U0Uf8mDGjEOqFAzsjVA0iQ.png" /><figcaption>Availability calculation when adding CDN and Cache</figcaption></figure><p>Let’s step back and look at the different degradation modes we’ve introduced and how they may tie to an SLA that Charly cares about. We started with the basic scenario that allows Ulrike to add and read comments. This scenario has no fallbacks and therefore it has the lowest availability of all scenarios.<br>As the first improvement, we’ve added a read cache to use in case the persistence service can’t be reached. Now, Ulrike could read comments, but not add new ones. <br>A further extension to this could be to also use the cache for caching writes.</p><p>We realized that the depth of the call chain plays an important role in how much positive impact redundancy has to overall availability. So we thought about giving the UI tier a peer in a CDN, that ensures that Ulrike at least can view the UI and look at all the things she already has in her browser cache. We could extend this concept further by queuing comment adds in the browser, so that Ulrike is less likely to notice that comments can’t be saved right now.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/537/1*D0CCi5YysAlJ2mb1KciLBw.png" /></figure><p>Which of these failure modes is referenced directly or indirectly in the SLA, depends on the value of the capability that the service brings to the platform. After all, Charly bought a Data Science offering and not just a comment service.</p><p>On the specific case of comments and their relation to the overall offering, we should take graceful degradation into account in the SLA. The SLA shouldn’t declare the platform as unavailable when the comments service is down. We should focus on what we declare essential to delivering the value of the platform (E.g. Notebooks, Spark). These essential features must be available in high degradation modes. This means running these services is more expensive, but Theo can make an informed decision about the cost associated.</p><p>For reasons like disaster recovery, the eventual goal is deploying into multiple regions. While this has the highest cost associated, it also has the biggest impact on availability. One aspect we omitted so far is failure domains. Every region is a failure domain, so running active/active in at least two domains decouples us from any problems that may occur at a region level. Active/active also imposes new challenges on our services related to consistency of persistent state. Let’s do the math on what availability of our comments service looks like if we would deploy to two regions and run active/active. Requests will only fail if both regions are down at the same time, which produces decent availability in the range of three nines.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/754/1*pK-gvhXjkfuraWRVNIna3w.png" /></figure><p>Further materials:<br><a href="https://www.whoownsmyavailability.com/">https://www.whoownsmyavailability.com/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b6c101ce6980" width="1" height="1" alt=""><hr><p><a href="https://medium.com/service-level-agreement-for-gracefully-degrading/service-level-agreement-for-gracefully-degrading-services-b6c101ce6980">Service level agreement for gracefully degrading services</a> was originally published in <a href="https://medium.com/service-level-agreement-for-gracefully-degrading">Cloud boiler room news</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>