Exploring additional architecture patterns
In this section, we will dive into a set of additional architecture patterns that will allow you to perform high-level scalability and system decoupling. We will examine each pattern to understand how it functions. This will help us to build more optimized systems with reusable modules and an organized structure that allows for extensibility.
The serverless pattern
Serverless architecture promotes cloud platforms and cloud-native code. It is a pattern that allows us to host our solution in a third-party infrastructure. Using this approach, the developers will no longer have to worry about managing the server software and hardware. This pattern allows us to break up our application into small and autonomous functions that can be triggered and scaled individually.
The following diagram illustrates the serverless architecture of a single-page web application: