Book description
Begin building event-driven microservices, including patterns to handle data consistency and resiliency
Key Features
- Explore the benefits and tradeoffs of event-driven architectures with practical examples and use cases
- Understand synergy with event sourcing, CQRS, and domain-driven development in software architecture
- Build an end-to-end robust application architecture by the end of the book
Book Description
Event-driven architecture in Golang is an approach used to develop applications that shares state changes asynchronously, internally, and externally using messages. EDA applications are better suited at handling situations that need to scale up quickly and the chances of individual component failures are less likely to bring your system crashing down. This is why EDA is a great thing to learn and this book is designed to get you started with the help of step-by-step explanations of essential concepts, practical examples, and more.
You'll begin building event-driven microservices, including patterns to handle data consistency and resiliency. Not only will you learn the patterns behind event-driven microservices but also how to communicate using asynchronous messaging with event streams. You'll then build an application made of several microservices that communicates using both choreographed and orchestrated messaging.
By the end of this book, you'll be able to build and deploy your own event-driven microservices using asynchronous communication.
What you will learn
- Understand different event-driven patterns and best practices
- Plan and design your software architecture with ease
- Track changes and updates effectively using event sourcing
- Test and deploy your sample software application with ease
- Monitor and improve the performance of your software architecture
Who this book is for
This hands-on book is for intermediate-level software architects, or senior software engineers working with Golang and interested in building asynchronous microservices using event sourcing, CQRS, and DDD. Intermediate-level knowledge of the Go syntax and concurrency features is necessary.
Table of contents
- Event-Driven Architecture in Golang
- Contributors
- About the author
- About the reviewers
- Preface
- Part 1: Event-Driven Fundamentals
- Chapter 1: Introduction to Event-Driven Architectures
- Chapter 2: Supporting Patterns in Brief
- Chapter 3: Design and Planning
- Part 2: Components of Event-Driven Architecture
- Chapter 4: Event Foundations
- Chapter 5: Tracking Changes with Event Sourcing
- Chapter 6: Asynchronous Connections
- Chapter 7: Event-Carried State Transfer
- Chapter 8: Message Workflows
- Chapter 9: Transactional Messaging
- Part 3: Production Ready
- Chapter 10: Testing
- Chapter 11: Deploying Applications to the Cloud
- Chapter 12: Monitoring and Observability
- Index
- Other Books You May Enjoy
Product information
- Title: Event-Driven Architecture in Golang
- Author(s):
- Release date: November 2022
- Publisher(s): Packt Publishing
- ISBN: 9781803238012
You might also like
book
Domain-Driven Design with Golang
Understand the concept of Domain-driven design and build two DDD systems from scratch that can be …
book
Hands-On Software Engineering with Golang
Explore software engineering methodologies, techniques, and best practices in Go programming to build easy-to-maintain software that …
book
Hands-On Software Architecture with Golang
Understand the principles of software architecture with coverage on SOA, distributed and messaging systems, and database …
book
Terraform: Up & Running, 2nd Edition
Terraform has become a key player in the DevOps world for defining, launching, and managing infrastructure …