clean-architecture icon indicating copy to clipboard operation
clean-architecture copied to clipboard

Query on Eventual Consistency Mechanism

Open tiagofvital opened this issue 5 months ago • 4 comments

Hi @amantinband!

Firstly, thank you for this amazing project! It's packed with fantastic features. 🙌

However, I have a question regarding how eventual consistency is ensured. If I understood correctly, domain events are stored in the HttpContext Items and then processed after the response is sent to the client. In the event of a server breakdown, wouldn't there be a risk of inconsistency?

Wouldn't it be more advisable to implement an outbox pattern for such scenarios?

Thank you!

tiagofvital avatar Jan 15 '24 18:01 tiagofvital