poxa
poxa copied to clipboard
[WIP] Use distributed gproc to handle multiple nodes
Changes:
- Use
gproc_dist
on gproc to registry properties on processes globally; - Use renode to reconnect nodes when disconnections happen.
Missing:
- [ ] Add at least 1 integration test that spawns a slave node;
- [ ] Add documentation to connect, add and remove nodes.
FYI, Phoenix framework have distributed code. It may be interesting to use it as example
@edgurgel Is there any update to this? We'd love to use this but this is the only thing holding us back because we've potentially 30K connections at peak hours.
@edgurgel is there any plan to continue this?
@Ananto30 yes I have plans to ressurect this PR and have a tutorial on how to run it on Fly.io . Hopefully in the next month or so ? :crossed_fingers:
Edit: Hopefully by the end of the year.