2 ms·
Then, could a Lumen user do what pre-SMP Erlang did for parallelism, and 1. run multiple nodes on one machine (i.e. manually create Web Workers each with their
by derefr 7y ago
Then, could a Lumen user do what pre-SMP Erlang did for parallelism, and
1. run multiple nodes on one machine (i.e. manually create Web Workers each with their own copy of Lumen); and then
2. write an erl_dist alternative-carrier protocol driver that uses worker.postMessage()?
- bitwalker 7y agoSure, I can't imagine any particular reason why that wouldn't work. That said, we don't have distribution implemented yet, since we are focused on a single node in the browser initially; so it depends on which comes first - SharedArrayBuffer being stabilized again in the browsers so we can enable multiple schedulers, or getting distribution implemented thoroughly enough to support the approach you mentioned as a workaround.