All lessons in Cloud Engineering: Deploy, Operate, and Recover
Serverless Operating Contracts
Distinguish instance scaling from concurrency within an instance.
55 minutes · Members lesson · preview
What you will learn
- Distinguish instance scaling from concurrency within an instance.
- Size an event handler against its downstream connection and deadline budgets.
- Define replay, startup, and cost evidence for a serverless deployment decision.
The proposed Northstar update worker is idle most of the day and busy after a nightly import. A function platform seems attractive, but its autoscaling could open more database connections than the store can support. Decide whether the platform's scaling behavior fits the whole service.
Continue the Investigate phase by writing a serverless operating contract. Use the event identities and replay behavior from the previous lesson. Moving the handler into a managed runtime changes who operates the runtime; it does not remove responsibility for the business effect.