Advanced System Design Fundamentals
Vote

0% completed

​

Exercise: Three Correctness Bugs in an Order Pipeline

This exercise brings the module together. The order pipeline below passes its tests and works on almost every request, but it has three correctness bugs. A correctness bug is a flaw that produces a wrong result, such as a double charge, while every service reports success.

An online store runs the order pipeline below, and every number in it is illustrative.

  • The checkout service saves each new order in its database. Then it publishes an OrderPlaced event to the orders topic in Kafka.
  • When a customer cancels, checkout marks the order as canceled. Then it publishes `Orde

.....

.....

.....

Like the course? Get enrolled and start learning!

Reading Progress

0%


Vote for new content