News for hackers. Stuff that matters.
Re:The Soul of Erlang and Elixir [video] by bmalehorn on Thursday September 12, 2019 @03:58AM (#20949090)
The speaker mentions that Redis, MongoDB and background jobs were replaced by Erlang.

What does he mean by that exactly? Erlang provides some persistent state storage? Or is he just saying he used Erlang database drivers to access Redis / MongoDB?

Re:The Soul of Erlang and Elixir [video] by lostjohnny on Thursday September 12, 2019 @04:21AM (#20949204)
> Erlang provides some persistent state storage?

Yes, it's called Mnesia.

If you need non blocking, concurrency aware memory storage that can eventually be serialized to disk, look at ETS/DETS. They are part of the stdlib.

But you could also use Riak[1], which is entirely written in Erlang.

[1] https://en.wikipedia.org/wiki/Riak

Re:The Soul of Erlang and Elixir [video] by bennyp101 on Thursday September 12, 2019 @04:21AM (#20949208)
You can use ETS and Mnesia, and overall it is built to be distributed so you can pass messages between processes/nodes without needing something like RabbitMQ.

Most of the time Erlang and OTP provide what you need already without having to reach for an external tool. (Obviously depending on your use case)

Re:The Soul of Erlang and Elixir [video] by namelosw on Thursday September 12, 2019 @05:58AM (#20949748)
Furthermore, job processing is much easier with Erlang because the processes and the scheduling mechanism - there could be no job, only processes doing their things.