Re:Do you really need Redis? How to get away with just Postg...
by AtNightWeCode on Saturday June 12, 2021 @08:09AM
(#27483894)
The outbox pattern. Can in many cases be solved by using topics.
[ Parent
| on HN ]
Re:Do you really need Redis? How to get away with just Postg...
by aidos on Saturday June 12, 2021 @08:29AM
(#27483986)
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?
Re:Do you really need Redis? How to get away with just Postg...
by AtNightWeCode on Monday June 14, 2021 @06:17PM
(#27509037)
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.