A two-phase-commit approach to gain traceability of a distributed system, with Elixir

Authors: Ed Ellson, Dorian Iacobescu, Tobias Kräntzer & Qixxit Team

Here at Qixxit, we combine long-distance bus, train and flight options into a single route, allowing customers to book tickets through a single platform.

Checking out an order through our platform requires communication with a lot of 3rd parties. Products have to be booked with the train operator, money has to be collected from the customer, etc. Each of these actions can fail for a variety of reasons.

Because the checkout of an order is a critical process where both capturing the money and booking the product must succeed, it…

Tobias Kräntzer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store