what is the real benefit of using outbox pattern in an event-driven architecture

149 Views Asked by At

According to all of the articles I've seen so far about the benefits of using the Outbox pattern in an event-driven architecture, they all use this pattern so if the Message Broker fails, messages don't get lost, but here's my question, aren't we worried about the time that DB fails?

I mean, what is the difference between:

  • We use outbox and db fails (message gets lost!)
  • We don't use outbox and Broker fails (message gets lost!)

In any case, we should be careful about our system components, unless, we may lose some data, and I don't see any valid answer that shows outbox is preventing that.

0

There are 0 best solutions below