So, the idea is to have a cluster where each node is able have a chunk of the actors.
If, for example, there are 100.000 actors and 5 instances in the cluster, then there should be 20.000 actors in each server.
Things I need to think (and where help is very welcomed):
- What happens if a server crashes? Should we replicate the enqueued messages in order to not lose messages?
- Raft? I'm checking it and it seems good.
- Should the consensus algorithm sync messages or just where is each actor?
- Until what point should the actor inboxes being persistent?
- Is it worth it to have a cluster where if any instance dies are messages lost?
Many decisions!
So, the idea is to have a cluster where each node is able have a chunk of the actors.
If, for example, there are 100.000 actors and 5 instances in the cluster, then there should be 20.000 actors in each server.
Things I need to think (and where help is very welcomed):
Many decisions!