O'Reilly logo
  • Francisco Almeida thinks this is interesting:

. This is to handle a scenario in which there is only one seat left, and multiple customers are trying to book. In the new design, if we apply the same event-driven pattern, sending the inventory update as an event to Inventory may leave the system in an inconsistent state. This needs further analysis, which we will address later in this chapter


Cover of Spring Microservices


A tip to remember that I really need to learn this pattern. NOTE: how should I handle the needed of many requests to a single thing that must to be fulfilled only once