Building Microservices: Designing Fine-Grained Systems book cover

Building Microservices

Designing Fine-Grained Systems

Sam Newman
4.22 (5129 Reviews)

Overview of Building Microservices

Sam Newman's "Building Microservices" revolutionized software architecture, transforming how tech giants like Netflix and Amazon build systems. This industry bible sparked the architectural shift from monoliths to microservices - the secret weapon behind today's most scalable, resilient digital platforms.

Key Themes in Building Microservices

  • distributed systems architecture
  • service decomposition
  • independent deployability
  • domain driven design
  • monolith migration

Quotes from Building Microservices

  • The distributed monolith is the worst of both worlds.

  • Monolithic architecture should be considered a valid default choice.

  • The most important characteristic of microservices isn't their size but their independent deployability.

  • Size is one of the least interesting aspects of this architecture.

Characters in Building Microservices

  • Sam NewmanAuthor and expert on microservices architecture

About the Author

About the Author of Building Microservices

Sam Newman is the author of Building Microservices and a leading authority on cloud-native architecture and continuous delivery. A seasoned independent consultant with over two decades in software development, Newman specializes in designing scalable microservice systems, evolution strategies for legacy applications, and developer-centric workflows.

His seminal work, Building Microservices, provides a foundational guide to distributed systems design, emphasizing practical patterns for decomposition, testing, and deployment in DevOps environments.

Newman’s expertise stems from 12 years at Thoughtworks, where he contributed to early agile methodologies and co-created tools like the Lego XP Game for teaching Agile principles. His follow-up book, Monolith to Microservices, explores migration tactics like the strangler fig pattern and parallel run deployments.

A frequent speaker at tech conferences, Newman advocates for FaaS (Function-as-a-Service) adoption and modular runtime environments. His writings and talks are widely referenced in software engineering circles, with his O’Reilly-published books serving as essential resources for architects and developers navigating cloud-native transformations.

Download Summary of Building Microservices

Get the Building Microservices summary as a free PDF or EPUB. Print it or read offline anytime.

FAQs About This Book

Building Microservices provides a comprehensive guide to designing, managing, and scaling distributed systems using microservices. It covers splitting monolithic applications, data management, deployment strategies, communication styles, and monitoring. Sam Newman emphasizes principles like domain-driven design, independent service deployment, and team autonomy, offering practical advice for architects, developers, and IT operators navigating modern software architecture challenges.

This book is essential for software architects, developers, DevOps engineers, and tech leads involved in designing or transitioning to microservices. It’s also valuable for IT operators and testers seeking to understand deployment, monitoring, and resiliency in distributed systems. Newman’s clear examples make it accessible for both newcomers and experienced practitioners.

Yes, the 2nd edition is widely regarded as a definitive resource for microservices. It blends theoretical concepts with real-world case studies, updated for cloud-native technologies and modern practices like containerization. Readers praise its holistic approach to technical and organizational challenges, making it indispensable for anyone working with distributed systems.

Newman highlights three core principles:

  • Independently deployable services (no orchestrated deployments).
  • Domain-driven design to align services with business capabilities.
  • Encapsulated data ownership, treating services as abstractions over private state.

These principles enable scalability, team autonomy, and faster iteration.

The book advocates treating services as data abstractions, emphasizing strategies like:

  • Decentralized data ownership to avoid shared databases.
  • Event sourcing and sagas for consistency.
  • Aggregated reporting solutions.

Newman warns against tight data coupling and provides patterns to manage transactions across services.

Newman stresses continuous integration, containerization, and automated deployment pipelines to enable independent releases. He also covers monitoring, logging, and resiliency techniques like circuit breakers. The book critiques centralized orchestration, arguing it undermines microservices’ autonomy benefits.

Newman dedicates a chapter to Conway’s Law, explaining how organizational structure impacts system design. He advises aligning team boundaries with service boundaries to reduce friction, advocating for small, cross-functional teams that own full service lifecycles.

While promoting microservices’ benefits, Newman acknowledges trade-offs:

  • Increased complexity in debugging and monitoring.
  • Organizational challenges in team coordination.
  • Potential over-engineering for smaller systems.

He advises evaluating microservices against monoliths for each use case.

The 2nd edition adds content on cloud-native technologies, security, and resiliency patterns. It refines definitions (e.g., “independently releasable services”) and includes newer case studies. Newman also expands discussions on communication styles, deployment principles, and team dynamics.

The book compares synchronous (REST, gRPC) and asynchronous (message queues, event-driven) communication. Newman advises favoring event-driven collaboration for loose coupling and scalability, while warning against over-reliance on synchronous APIs that create brittle dependencies.

Newman outlines incremental decomposition strategies:

  • Identify bounded contexts using domain-driven design.
  • Prioritize splitting modules with divergent scalability or volatility needs.
  • Use the Strangler Fig Pattern to gradually replace monolith components.

He also details techniques to manage shared databases during transitions.

Autonomy allows teams to deploy services independently, accelerating delivery cycles. Newman argues that centralized governance or deployment coordination negates microservices’ core advantages, advocating for decentralized decision-making aligned with service ownership.

Explore Your Way of Learning

Building Microservices isn't just a book — it's a masterclass in Technology. To help you absorb its lessons in the way that works best for you, we offer five unique learning modes. Whether you're a deep thinker, a fast learner, or a story lover, there's a mode designed to fit your style.

Quick Summary Mode

Read or listen to Building Microservices Summary in 9 Minutes

Break down key ideas from Building Microservices into bite-sized takeaways to understand how innovative teams create, collaborate, and grow.

play
00:00
00:00

Fun Mode

Building Microservices Lessons Told Through 19-Min Stories

Experience Building Microservices through vivid storytelling that turns innovation lessons into moments you'll remember and apply.

play
00:00
00:00

Personalize Mode

Experience Building Microservices in your own learning style

Ask anything, choose your learning style, and co-create insights that truly resonate with you.

Personalize Mode

From Columbia University alumni built in San Francisco

BeFreed Brings Together A Global Community Of 1,000,000 Curious Minds

"Instead of endless scrolling, I just hit play on BeFreed. It saves me so much time."

@Moemenn
platform
star
star
star
star
star

"I never knew where to start with nonfiction—BeFreed’s book lists turned into podcasts gave me a clear path."

@Chloe, Solo founder, LA
platform
comments
12
likes
117

"Perfect balance between learning and entertainment. Finished ‘Thinking, Fast and Slow’ on my commute this week."

@Raaaaaachelw
platform
star
star
star
star
star

"Crazy how much I learned while walking the dog. BeFreed = small habits → big gains."

@Matt, YC alum
platform
comments
12
likes
108

"Reading used to feel like a chore. Now it’s just part of my lifestyle."

@Erin, Investment Banking Associate , NYC
platform
comments
254
likes
17

"Feels effortless compared to reading. I’ve finished 6 books this month already."

@djmikemoore
platform
star
star
star
star
star

"BeFreed turned my guilty doomscrolling into something that feels productive and inspiring."

@Pitiful
platform
comments
96
likes
4.5K

"BeFreed turned my commute into learning time. 20-min podcasts are perfect for finishing books I never had time for."

@SofiaP
platform
star
star
star
star
star

"BeFreed replaced my podcast queue. Imagine Spotify for books — that’s it. 🙌"

@Jaded_Falcon
platform
comments
201
thumbsUp
16

"It is great for me to learn something from the book without reading it."

@OojasSalunke
platform
star
star
star
star
star

"The themed book list podcasts help me connect ideas across authors—like a guided audio journey."

@Leo, Law Student, UPenn
platform
comments
37
likes
483

"Makes me feel smarter every time before going to work"

@Cashflowbubu
platform
star
star
star
star
star

"Instead of endless scrolling, I just hit play on BeFreed. It saves me so much time."

@Moemenn
platform
star
star
star
star
star

"I never knew where to start with nonfiction—BeFreed’s book lists turned into podcasts gave me a clear path."

@Chloe, Solo founder, LA
platform
comments
12
likes
117

"Perfect balance between learning and entertainment. Finished ‘Thinking, Fast and Slow’ on my commute this week."

@Raaaaaachelw
platform
star
star
star
star
star

"Crazy how much I learned while walking the dog. BeFreed = small habits → big gains."

@Matt, YC alum
platform
comments
12
likes
108

"Reading used to feel like a chore. Now it’s just part of my lifestyle."

@Erin, Investment Banking Associate , NYC
platform
comments
254
likes
17

"Feels effortless compared to reading. I’ve finished 6 books this month already."

@djmikemoore
platform
star
star
star
star
star

"BeFreed turned my guilty doomscrolling into something that feels productive and inspiring."

@Pitiful
platform
comments
96
likes
4.5K

"BeFreed turned my commute into learning time. 20-min podcasts are perfect for finishing books I never had time for."

@SofiaP
platform
star
star
star
star
star

"BeFreed replaced my podcast queue. Imagine Spotify for books — that’s it. 🙌"

@Jaded_Falcon
platform
comments
201
thumbsUp
16

"It is great for me to learn something from the book without reading it."

@OojasSalunke
platform
star
star
star
star
star

"The themed book list podcasts help me connect ideas across authors—like a guided audio journey."

@Leo, Law Student, UPenn
platform
comments
37
likes
483

"Makes me feel smarter every time before going to work"

@Cashflowbubu
platform
star
star
star
star
star

"Instead of endless scrolling, I just hit play on BeFreed. It saves me so much time."

@Moemenn
platform
star
star
star
star
star

"I never knew where to start with nonfiction—BeFreed’s book lists turned into podcasts gave me a clear path."

@Chloe, Solo founder, LA
platform
comments
12
likes
117

"Perfect balance between learning and entertainment. Finished ‘Thinking, Fast and Slow’ on my commute this week."

@Raaaaaachelw
platform
star
star
star
star
star

"Crazy how much I learned while walking the dog. BeFreed = small habits → big gains."

@Matt, YC alum
platform
comments
12
likes
108

"Reading used to feel like a chore. Now it’s just part of my lifestyle."

@Erin, Investment Banking Associate , NYC
platform
comments
254
likes
17

"Feels effortless compared to reading. I’ve finished 6 books this month already."

@djmikemoore
platform
star
star
star
star
star

"BeFreed turned my guilty doomscrolling into something that feels productive and inspiring."

@Pitiful
platform
comments
96
likes
4.5K

"BeFreed turned my commute into learning time. 20-min podcasts are perfect for finishing books I never had time for."

@SofiaP
platform
star
star
star
star
star

"BeFreed replaced my podcast queue. Imagine Spotify for books — that’s it. 🙌"

@Jaded_Falcon
platform
comments
201
thumbsUp
16

"It is great for me to learn something from the book without reading it."

@OojasSalunke
platform
star
star
star
star
star

"The themed book list podcasts help me connect ideas across authors—like a guided audio journey."

@Leo, Law Student, UPenn
platform
comments
37
likes
483

"Makes me feel smarter every time before going to work"

@Cashflowbubu
platform
star
star
star
star
star

See More Stories?

How people are talking about BeFreed across the web
1.5K Ratings4.7
Start your learning journey, now