News for hackers. Stuff that matters.
Re:Lovely Week with Elixir by zambal on Friday May 22, 2020 @08:28AM (#23271344)
> and despite its excellent concurrency characteristics the BEAM still lacks basics such as a battle-tested raft implementation.

A couple of years ago the RabbitMQ team has published a raft library[1] which they use in their implementation of persistent queues. It has a flexible API and implementing your own state machines is quite straightforward, as it follows the OTP gen_* behaviour paradigm.

And by now, I'd say it's pretty well battle-tested.

[1] https://github.com/rabbitmq/ra

Re:Lovely Week with Elixir by jeremyjh on Friday May 22, 2020 @04:30PM (#23276583)
I didn’t know about that - thank you for pointing me at it!