Calculating the SLA of a system behind a CDN

Cache

  • Cache hit: when the request can be responded directly from the cache memory instead of going to the origin (our service)
  • Cache miss: when there’s no cached response available and the request should go all the way to the origin (our service) and probably be cached
  • Hit ratio = (Cache hit) / (Cache hit + Cache miss) * 100
  • Worse case scenario: cache Availability * origin Availability
  • Best case scenario: cache Availability

CDN

--

--

--

Sr. Staff Engineer @volvocars, Knowledge Worker, MSc Systems Engineering, Tech Lead, Web Developer

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

shopper e-commerce

5 Extra Uses for Curl That Don’t Involve Web Requests

Programmers Lifestyle

Is Learning Python Good for Kids?

Connecting to a GraphQL API Using Python

Web Development Fundamentals for Newcomers! (Part 1: Front End)

How to set up GitLab Continuous Integration for iOS projects without a hustle

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Alex Ewerlöf

Alex Ewerlöf

Sr. Staff Engineer @volvocars, Knowledge Worker, MSc Systems Engineering, Tech Lead, Web Developer

More from Medium

What it means to be a Team Captain in software development

Calculating composite SLA

5 Design Patterns for Building Observable Services

2021 Wrap-Up: Announcing Emissary-ingress 2.1, Telepresence 2.4.9