Skip to Content
Principles and Patterns for Distributed Application Architecture
book

Principles and Patterns for Distributed Application Architecture

by Jonas Bonér
January 2025
Intermediate to advanced
124 pages
3h 10m
English
O'Reilly Media, Inc.
Content preview from Principles and Patterns for Distributed Application Architecture

Chapter 4. Designing Distributed Applications

Now that we have delved into the principles and patterns of distributed application architecture, how can we best put them into practice? Using event-driven architecture with microservices has proven to be one of the best ways to translate business needs and model the application domain in a way that is in line with how distributed systems work, allowing applications to be ready for, and make the most out of, the cloud and edge. Let’s now take some time to discuss this in more detail.

Fundamental Principles of Microservices

Microservices have emerged as a powerful architectural pattern for building cloud applications, offering numerous advantages in terms of speed, efficiency, predictability, and safety. This approach has proven particularly effective in scaling organizations by allowing developers to decompose complex applications into discrete, decoupled services that communicate via well-defined protocols. This decomposition empowers individual teams to develop, deploy, and evolve their microservices independently, fostering agility and innovation.

Moreover, when implemented correctly, microservices provide an elegant solution to the challenges inherent in distributed systems. To harness the full potential of this architecture, you should adhere to five key principles:

  • Isolation of components

  • Autonomous operation

  • Single responsibility

  • Exclusive state ownership

  • Mobility with addressability

Let’s explore each of these ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Design Microservices Architecture with Patterns and Principles

Design Microservices Architecture with Patterns and Principles

Mehmet Ozkaya
Cloud Application Architecture Patterns

Cloud Application Architecture Patterns

Kyle Brown, Bobby Woolf, Joseph Yoder

Publisher Resources

ISBN: 9781098181260Errata Page