Re:A flexible, lightweight, spin-lock barrier
by gpderetta on Wednesday March 16, 2022 @11:22AM
(#30699917)
Do you really need a total ordering of messages instead of the partial ordering that separate queues could give you? Also do you really need broadcasting or point-to-point or anycasting would be more appropriate? That's what I mean by specialized.
Re:A flexible, lightweight, spin-lock barrier
by bob1029 on Wednesday March 16, 2022 @03:28PM
(#30702910)
> Do you really need a total ordering of messages instead of the partial ordering that separate queues could give you?
If the consequences of any given event may impact the processing of any subsequent event, then yes. For many ordinary systems this constraint holds true.
I somewhat disagree with this. I have been able to build a lot of business systems that have nothing to do with fintech on top of the exact same abstraction. Order matching engines are not the only thing that can benefit from being able to deal with millions of serialized events per second. Most video games, especially multiplayer ones, can benefit from this style of abstraction too.