Chapter 2

Microservices and Serverless Scaling Patterns

Learning Objectives

By the end of this chapter, you will be able to:

  • Describe the unique scaling challenges presented by serverless architectures
  • Create a serverless queue for feeding your product's database
  • Design a caching strategy to fit any requirements with a serverless architecture
  • Use asynchronous processing rather than synchronous processing

This chapter explains how to build a highly scalable solution using a queue, load messages onto the queue, and read them asynchronously.


In the previous chapter, you created all of the core individual components of a complete serverless architecture. The important thing to note is the total separation of frontend and backend ...

Get Advanced Serverless Architectures with Microsoft Azure now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.