liveBook · Manning

Serverless computing

As explained in Fast by Default

A serverless environment runs application code on managed infrastructure while abstracting server provisioning and capacity management from the application team.

Serverless computing runs application functions on managed infrastructure, letting teams focus on application code rather than server provisioning and capacity management. It is one architectural option among monoliths and microservices, not an automatic route to lower cost or better scale. section 5.3.1

Distributed serverless components can introduce coordination, orchestration, and data-transfer overhead. Evaluate them against the workload: independently scaling capabilities and team-owned deployments can favor decomposition, while a computationally intensive, self-contained workflow can favor consolidation into one process. section 5.3.1

Video-quality analysis consolidation

A video-quality analysis service built with AWS Step Functions, Lambda, and S3 reached a scaling limit at 5% of expected load as orchestration and data-transfer costs became unsustainable. Replacing the distributed design with a single process cut infrastructure costs by 90% and improved scaling. section 5.3.1

Figure 5.6 Monolith vs microservices latency

Compare latency implications when weighing a monolith against a distributed, microservices-based design that may include serverless functions. section 5.3.1

How Fast by Default covers it

How deep it goes
Explains serverless through a detailed scaling-and-cost case study, without describing function implementation internals.
Examples
Uses a video-quality analysis service built with Step Functions, Lambda, and S3, then consolidated into a single process.
What you can do after
Evaluate/understand whether a workload’s coordination, scaling, and cost constraints favor serverless components or consolidation.
How it connects
Connects serverless computing with microservices, monoliths, AWS Step Functions, Lambda, S3, orchestration, and data transfer.

Also explained in

Compare how 11 books explain serverless computing →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Fast by Default. The section links point to the parts of the book it draws on.