liveBook · Manning

Chapter 12: Cloud and services

What you will learn in chapter 12 of Think Distributed Systems

The chapter introduction frames cloud computing, cloud-native computing, serverless computing, and microservices as popular but vaguely defined ideas, and sets out the chapter’s approach to clarifying them.

After this chapter you will be able to

What it builds on

Section by section

Introduction

The chapter introduction frames cloud computing, cloud-native computing, serverless computing, and microservices as popular but vaguely defined ideas, and sets out the chapter’s approach to clarifying them.

Key terms: cloud computing, cloud-native computing, serverless computing, microservices, mental models, accurate and concise definitions, current industry understanding, industry standards

12.1 From proactive to reactive

The section explains how on-demand resources made systems elastic and shifted system design from proactive planning around static resources to reactive adaptation in dynamic environments.

Key terms: static topology, dynamic topology, proactive, reactive, self-regulate, elasticity, scalability, reliability, resource allocation

12.2 Cloud computing

Cloud computing separates resource consumers from providers and lets consumers acquire and release resources on demand.

Key terms: resource consumer, resource provider, cloud platform, on demand, compute resources, storage resources, public cloud platform, private cloud platform

12.3 Cloud-native computing

This section distinguishes cloud-hosted applications from cloud-native applications and explains why scalability and reliability require application design as well as cloud-platform tools.

Key terms: cloud application, cloud-native application, by construction, by requirement, supervisor, scaler, load balancer, K8s Deployment, K8s HorizontalPodAutoscaler, K8s Service

12.4 Serverless computing

This section introduces a minimal model of resources, requests, and actions for reasoning about serverless computing.

Key terms: minimal model of computation, resources, application events, requests, cloud primitives, acquire, release, receive events, process events, universal constraint

12.4.1 Traditional

12.4.2 Serverless

Serverless computing can acquire resources after an application event arrives, so it must determine what resources are needed from that event.

Key terms: serverless computing, application event, resources on demand

12.4.3 Cold path vs. hot path

This subsection distinguishes cold and hot paths in serverless event processing by whether resources must be acquired after an event arrives.

Key terms: cold path, hot path, resources, application event

12.5 Service

The section introduces the need for a clearer model of a service by showing how service boundaries become ambiguous in architecture diagrams.

Key terms: microservice, service, microservices-based architecture, service boundaries, autonomous service, load balancer, autoscalar

12.5.1 Global view vs. local view

This section contrasts global and local views of a system and explains why, from a component’s local view, a service is an interaction contract rather than a set of components.

Key terms: global view, local view, component, channel to the network, service, contract, rest of the system, logical view, physical point of view, echo service

12.5.2 Example recommendation service

A movie-recommendation example shows how a service can keep a simple, stable contract while its implementation grows into a changing collection of components.

Key terms: Get, ID -> [ID], contract, redundancy, primary, backup, dynamic (real) recommendations, static (fake) recommendations, smart load balancer, autoscaling

12.6 Final thoughts

The section argues that deep, shared, accurate mental models make engineers more effective collaborators and communicators.

Key terms: mental model, reality, cloud, cloud-native, serverless, microservices, core of a concept

12.7 Summary

The chapter summary connects elastic cloud computing, proactive versus reactive resource acquisition, and services as stable logical contracts.

Concepts explained in this chapter

← Chapter 11: Durable executions

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.