0%

In the simplest terms, event-driven architectures are like onions; they are manageable as a single layer (like a monolith) but when you get into them, they begin to cascade apart and you quickly realize that there are many complex layers (distributed microservices architecture). And that’s when the tears begin.

This prescriptive guide takes you through the steps of moving a platform with millions of users from a monolith to a microservices event-driven architecture. You will learn about the challenges and complexities that arise in high-throughput environments that often contain upwards of hundreds of microservices. This book is designed to be your single best resource for learning how to apply event-driven architectures in real-world scenarios and offers hundreds of patterns to overcome the common and not so common challenges.

While event-driven architectures have been the standard for decoupled, pluggable, evolutionary architectures for years, they have only recently been adopted by enterprises for the purpose of distributed microservices and there is little information about adopting them. Using them at scale can save valuable resources, but requires different considerations, including the added complexity of supporting several moving parts and getting the event schema right from the start in order to avoid large restructuring later on.

Author Hugo Rocha understands that these kinds of challenges, as well as many others, need to be considered from the beginning, and helps teach you the mindset needed to create a deliberate strategy upfront. This book offers learning approaches and patterns to get you up to speed in order to sustainably build and manage event-driven architectures.


What You Will Learn

  • Understand the real-world challenges of event-driven architectures and the patterns to deal with those challenges and the trade-offs of each solution
  • Leverage the advantages of event-driven architectures to build scalable solutions and address legacy applications
  • Plan successful future implementations to avoid common pitfalls and apply proven patterns to deal with challenges in a real-world platform with millions of users
  • Decide whether event-driven solutions are the right choice for the requirements at hand
  • Discuss and understand advanced concepts about event-driven architectures

 

Who Is This Book For

Software engineers and software architects. Anyone currently working with microservice architectures, primarily event-driven microservices, will greatly benefit from this book. Readers working with monoliths will benefit, as the book explores migration from a monolithic application to an event-driven microservice architecture.

Table of Contents

  1. Cover
  2. Front Matter
  3. 1. Embracing Event-Driven Architectures
  4. 2. Moving from a Monolith to an Event-Driven Architecture
  5. 3. Defining an Event-Driven Microservice and Its Boundaries
  6. 4. Structural Patterns and Chaining Processes
  7. 5. How to Manage Eventual Consistency
  8. 6. Dealing with Concurrency and Out-of-Order Messages
  9. 7. Achieving Resilience and Event Processing Reliability in Event-Driven Microservices
  10. 8. Choosing the Correct Event Schema Design in Event-Driven Microservices
  11. 9. How to Leverage the User Interface in Event-Driven Microservice Architectures
  12. 10. Overcoming the Challenges in Quality Assurance
  13. Back Matter
3.17.28.48