Service Orchestration The flowchart is arguably the oldest modeling tool in software engineering. Its sim‐ plicity, with a handful of symbols, makes it adaptable enough to illustrate the logic of […]
The Serverless Square of Balance: The Trade-off Between Delivery and Stability – Testing Serverless Applications
The Serverless Square of Balance: The Trade-off Between Delivery and Stability It is time to introduce the serverless square of balance (Figure 7-2). The square of bal‐ ance illustrates the […]
Failure Modes and Effects Analysis worksheet – Testing Serverless Applications
Failure Modes and Effects Analysis worksheet The Failure Modes and Effects Analysis (FMEA) worksheet in Appendix C can be used to determine and categorize potential failure modes for the services […]
Serverless Compute with AWS Lambda – Implementing Serverless Applications
Serverless Compute with AWS Lambda Serverless computing is based on the provision of machine resources, shared across many disparate clients, on demand. This shared resource model only works if the […]
Apply the single-responsibility principle – Implementing Serverless Applications
Apply the single-responsibility principle The single-responsibility principle (SRP) can be distilled to the following: do one thing and do it well. In the context of Lambda functions, this encourages you […]
Orchestrate complex business logic with workflows – Implementing Serverless Applications
Orchestrate complex business logic with workflows Workflow orchestration is an increasingly common pattern in serverless applications that allows you to chain multiple tasks across a single process or service (see […]
Use Lambda Powertools – Implementing Serverless Applications
Use Lambda Powertools The open source Lambda Powertools initiative provides an indispensable set of tools to use when developing Lambda functions. There are implementations in a variety of languages, including […]
Most of the Code You Write Will Be Infrastructure – Implementing Serverless Applications
Most of the Code You Write Will Be Infrastructure Regardless of your team’s domain and use case, it is likely your serverless architecture will consist of a variety of managed […]
Environments and stages – Implementing Serverless Applications
Environments and stages The ephemeral, stateless nature of serverless resources and the pay-per-use pricing model allow for a strategy of treating instances of applications as disposable com‐ modities. Instances of […]
Benefits of managed services – Implementing Serverless Applications
Benefits of managed services A managed service (introduced in Chapter 1) encapsulates event consumption, event production, and metric emission (as illustrated in Figure 6-12). The internal logic of a managed […]