5. Designing an Architecture

Now that your images are built, it’s time to focus on designing your architecture for your application. The most important part of any application is making it work with the rest of the world. It’s great to have everything working internally, but you need to find an appropriate way to spread requests to your instances and properly delegate to them. Several patterns in this chapter can help you decide how to split any incoming request apart between your instances.

Requests can come in all sorts of packages, but typically they begin with some sort of user interaction. In a typical application, this would be from a web-based request. The simplest example of such a request is a user requesting a webpage. In this event, ...

Get Building Applications in the Cloud: Concepts, Patterns, and Projects 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.