sczyh30 / vertx-blueprint-microservice

Vert.x Blueprint Project - Micro-Shop microservice application

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Redesign for distributed transactions

sczyh30 opened this issue · comments

A redesign is needed for handling distributed transactions more correctly and effectively. One example is [decrease the inventory amount, create an order, store/dispatch].

Initial ideas:

  • Message middleware based architecture(maybe Kafka) with event sourcing
  • Compensating transaction support(rollback)

pending...