News for hackers. Stuff that matters.
Re:A flexible, lightweight, spin-lock barrier by bob1029 on Wednesday March 16, 2022 @11:12AM (#30699773)
> that's kind of a very specialized need

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.

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.

Re:A flexible, lightweight, spin-lock barrier by gpderetta on Wednesday March 16, 2022 @03:40PM (#30703049)
But partial ordering is often sufficient to maintain causality, total ordering might be overkill.