derekkraan / delta_crdt_ex

Use DeltaCrdt to build distributed applications in Elixir
MIT License
493 stars 36 forks source link

Process.alive? and Process.monitor can cause freezing #38

Open derekkraan opened 5 years ago

derekkraan commented 5 years ago

These function calls (and perhaps others) can cause freezing in a netsplit scenario. A possible solution is to move synchronization to separate processes (one per neighbour perhaps, so that one neighbour's netsplit doesn't cause problems for synchronization to other neighbours) so that we can isolate the impact of a slow call to a netsplitted neighbour.

CC @frekw