3 ms·
Erlang can have long living processes (green threads) and that's usually how we solve problems. There is absolutely no problem (it's encouraged) to have thousan
by loxs 10y ago
Erlang can have long living processes (green threads) and that's usually how we solve problems. There is absolutely no problem (it's encouraged) to have thousand of processes living minutes or hours if we need so.
- ngrilly 10y agoYes, but how do you manage fault tolerance at the machine level? If the machine is rebooted for some reason, the pending messages will be lost, and will never be processed. A persistent queue is necessary for this reason. This is the reason why people use tools like Celery or RabbitMQ (which is written in Erlang by the way). I don't see how replacing Python with Erlang changes anything in this regard.
- abrookewood 10y agoYou handle that with multiple nodes that sync their state.