Principles of Software Architecture Modernization

Diego Pacheco, Sam Sgro

SKU: 9789355517838


ISBN: 9789355519535
eISBN: 9789355517838
Authors: Diego Pacheco, Sam Sgro
Rights: Worldwide
Publishing Date: 1st Dec 2023
Pages: 474
Dimension: 7.5*9.25 Inches
Book Type: Paperback

This book is a comprehensive guide to designing scalable and maintainable software written by an expert. It covers the principles, patterns, anti-patterns, trade-offs, and concepts that software developers and architects need to understand to design software that is both scalable and maintainable.

The book begins by introducing the concept of monoliths and discussing the challenges associated with scaling and maintaining them. It then covers several anti-patterns that can lead to these challenges, such as lack of isolation and internal shared libraries.

The next section of the book focuses on the principles of good software design, such as loose coupling and encapsulation. It also covers several software architecture patterns that can be used to design scalable and maintainable monoliths, such as the layered architecture pattern and the microservices pattern.

The final section of the book guides how to migrate monoliths to distributed systems. It also covers how to test and deploy distributed systems effectively.


  • Guidance, trade-offs analysis, principles, and insights on understanding complex microservices and monoliths problems and solutions at scale.
  • In-depth coverage of anti-patterns, allowing the reader to avoid pitfalls and understand how to handle architecture at scale better. 
  • Concepts and lessons learned through experience in performing code and data migration at scale with complex architectures. Best usage of new technology using the right architecture principles.


  • Understand the challenges of monoliths and the common anti-patterns that lead to them.
  • Learn the principles of good software design, such as loose coupling and encapsulation.
  • Discover software architecture patterns that can be used to design scalable and maintainable monoliths.
  • Get guidance on how to migrate monoliths to distributed systems.
  • Learn how to test and deploy distributed systems effectively. 


This book is for software developers, architects, system architects, DevOps engineers, site reliability engineers, and anyone who wants to learn about the principles and practices of modernizing software architectures. The book is especially relevant for those who are working with legacy systems or want to design new systems that are scalable, resilient, and maintainable.

  1. What’s Wrong with Monoliths?
  2. Anti-Patterns: Lack of Isolation
  3. Anti-Patterns: Distributed Monoliths
  4. Anti-Patterns: Internal Shared Libraries
  5. Assessments
  6. Principles of Proper Services
  7. Proper Service Testing
  8. Embracing New Technology
  9. Code Migrations
  10. Data Migrations
  11. Epilogue

The Author: Diego Pacheco is a seasoned, experienced Brazilian software architect, author, speaker, technology mentor, and DevOps practitioner with more than 20+ years of solid experience. I've been building teams and mentoring people for more than a decade, teaching soft skills and technology daily. Selling projects, hiring, building solutions, running coding dojos, long retrospectives, weekly 1:1s, design sessions, code reviews and my favorite debate club: architects community of practices and development groups for more than a decade. Live, breathe and practice real agile since 2005, coaching teams help many companies to discover better ways to work using Lean, Agile principles and methods like XP and DTA. I've led complex architecture teams and engineering teams at scale guided by SOA principles, using a variety of open-source languages like Java, Scala, Rust, Go, Python, Groovy, JavaScript and TypeScript, cloud providers like AWS Cloud and Google GCP, amazing solutions like Akka, ActiveMQ, Netty, Tomcat and Gatling, NoSQL databases like Cassandra, Redis, Elasticache Redis, Elasticsearch, Opensearch, RabbitMQ, libraries like Spring, Hibernate, and Spring Boot and also the NetflixOSS Stack: Simian Army, RxJava, Karyon, Dynomite, Eureka, and Ribbon. I’ve implemented complex security solutions at scale using AWS KMS, S3, Containers (ECS and EKs), Terraform and Jenkins. Over a decade of experience as a consultant, coding, designing, training people at big customers in Brazil, London, Barcelona, India, and the USA(Silicon Valley and Midwest). I have a passion for functional programming and distributed systems, NoSQL Databases, an obsession for Observability, and always learning new programming languages.

Currently working as a principal Software Architect with AWS public cloud, Kubernetes/EKS, performing complex cloud migrations, library migrations,server and persistence migrations, security at scale with multi-level envelope encryption solutions using KMS and S3. While still hiring, teaching, mentoring and growing engineers and architects. During my free time, I love playing with my daughter, playing guitar, gaming, coding pocs and blogging.

Co-author: Sam Sgro is an experienced technologist, architect, and engineering leader with decades of hands on experience. Sam is a strong believer in how combining logic and reason with the right principles can bring about a better world, and his career has been about applying architecture and engineering in the best possible way, solving complex business and technology problems to help people.

Sam’s early background was a mix of both molecular biology and computer science, working in projects spanning open source cryptography and high performance computing. Slowly transitioning from having fun with Solaris and Linux to Java software engineering, Sam joined an early-stage bioinformatics and data analytics startup with a successful exit to Thomson Reuters. Since then, Sam has served as an engineering and architecture leader for teams across the US, Canada, UK, Spain, India, Ukraine, and Brazil, delivering multimillion-dollar growth and transformation initiatives across many industries, including pharmaceutical research and academic literature analysis.

Sam’s driving passions are solving problems, delivering software and helping people find their place in the world and hone their true capabilities. Sam loves delivering interesting and innovative tech solutions, such as in the early days using the Netflix stack, Cassandra and ElasticSearch, finding ways to creatively migrate technology to AWS, or building voice-based mobile applications to connect the world’s knowledge. Sam loves running, hiking and spending time with his family and kids, fitting in video games when time permits.

Sam currently serves as the architecture and consumer engineering lead of a FinTech company based in the Bay Area.

You may also like

Recently viewed