Chapter 8. Cloud Native Patterns in Practice

In this book, we’ve explored a lot of patterns related to building cloud native applications. Now it’s time to see how to apply some of those patterns in a real-world use case. This final chapter will show you how to apply cloud native patterns when building various aspects of cloud native applications—connecting services, managing decentralized data, event processing, stream processing, exposing managed APIs, connecting frontend applications, and performing dynamic management of the applications. Let’s begin by looking at the details of the use case that we are trying to implement.

Building an Online Retail System

As our real-world use case, we chose a simple online retail application that we can use to search for goods, purchase them, and ship them to our preferred locations. While an actual retail application can be overwhelmingly complex, we have selected a simplified yet diverse set of business capabilities and requirements to better demonstrate the application of cloud native patterns. We can categorize the key requirements and capabilities of this system as follows: product catalog, order management, order tracking and prediction, product recommendations, and customer and partner management. Let’s look at each of these business capabilities and requirements in more detail.

Product Catalog

We need to build a product catalog that allows customers of the online retail application to search for products and obtain essential product ...

Get Design Patterns for Cloud Native Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.