Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Client: Implement Transactional Outbox #101

Open
Tracked by #109
Zhiyuan-Amos opened this issue Nov 6, 2021 · 0 comments
Open
Tracked by #109

Client: Implement Transactional Outbox #101

Zhiyuan-Amos opened this issue Nov 6, 2021 · 0 comments

Comments

@Zhiyuan-Amos
Copy link
Owner

Zhiyuan-Amos commented Nov 6, 2021

After writing to Outbox, either:

  1. Js calls a .NET method to Notify State Changed
  2. .NET calls Notify State Changed.
    To trigger code to process Outbox.

Also, consider periodic processing of Outbox in case some of the processing fails. However, this will introduce race conditions, so for simplicity, we could consider processing Outbox on app launch.

(Evaluate: Use MessageId, AggregateId, AggregateType, EventType, Payload)

Writing to Server should occur before writing to Client. See #93

@Zhiyuan-Amos Zhiyuan-Amos mentioned this issue Nov 12, 2021
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant