All case studies

Reliability

Multi-step operations across services

One operation changed data in different systems at once, and some ran for a long time. A failure halfway was not allowed to break consistency or throw away work already done.

  • Reliability
  • Distributed transactions
  • Microservices

Under NDA

This case study combines several projects with a similar problem. The companies’ names and logos are under NDA, and we left out the details that could identify them.


Compensation
every step has an action that reverses it
Resume
after a failure, a process does not start over
Tests
for all of the coordination logic

The problem

If one service failed, the others had already written their part of the operation. The mismatches had to be found and fixed.


What we did


  1. 01We built a service that coordinates distributed operations. Every step has a defined action that reverses it.

  2. 02Long processes are described as steps with saved state, so after a failure or a restart they continue where they stopped.

  3. 03The coordination logic is covered with tests, because a mistake in it affects every operation.

Result

An operation either completes in every service or is reversed, and long processes survive failures and restarts.


Technologies

  • Python
  • Go
  • Kubernetes

Have a similar problem?

Write to us about what is going on. We reply within 2 business days.

Write to us


More case studies