Skip to Content
Event-Driven Architecture in Golang
book

Event-Driven Architecture in Golang

by Michael Stack
November 2022
Intermediate to advanced
384 pages
8h 47m
English
Packt Publishing
Content preview from Event-Driven Architecture in Golang

8

Message Workflows

In the previous chapter, we used events to share information between the modules. In this chapter, we will learn how complex work can be done in a distributed and asynchronous way. We will introduce several different options for performing complex operations across different components. After that, we will implement a new asynchronous workflow for creating orders in the application using one of those techniques.

In this chapter, we will cover the following topics:

  • What is a distributed transaction?
  • Comparing various methods of distributed transactions
  • Implementing distributed transactions with Sagas
  • Converting the order creation process to use a Saga

Technical requirements

You will need to install or have installed the ...

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.
Start your free trial

You might also like

Hands-On Software Architecture with Golang

Hands-On Software Architecture with Golang

Jyotiswarup Raiturkar

Publisher Resources

ISBN: 9781803238012Supplemental Content