Architectural and Design Patterns for Serverless
In this section of the book, so far we have looked at software frameworks, infrastructure as code, security best practices, and observability. All these provide a good foundation for developing serverless applications. In this chapter, we will look at another aspect of serverless development that aids in the design of serverless applications – design patterns.
Design patterns are generic, repeatable solutions to common problems. These are not solutions that can be readily converted to code, rather they provide a high-level framework that can be adapted to the problem at hand. Consider them as templates that provide a combination of best practices and reference architecture. In software engineering, there are several foundational design patterns that were proposed and well established decades ago. These design patterns apply to all software engineering problems and are usually associated with object-oriented design.
A design...