zlacker

[parent] [thread] 2 comments
1. AtNigh+(OP)[view] [source] 2021-06-12 12:09:15
The outbox pattern. Can in many cases be solved by using topics.
replies(1): >>aidos+u1
2. aidos+u1[view] [source] 2021-06-12 12:29:30
>>AtNigh+(OP)
Ah ha. Yup, that’s exactly it. Thanks for the pointer.

Edit: can you explain by what you mean by solving it with topics? I thought topics were a broadcast mechanism?

replies(1): >>AtNigh+xx6
◧◩
3. AtNigh+xx6[view] [source] [discussion] 2021-06-14 22:17:03
>>aidos+u1
If you have the case, if A then do B and C. You can commit to a topic and let B and C be triggered separately. This does not solve cases like storing to a db and then send a db-updated event.
[go to top]