emqx / eip

EMQX Improvement Proposals
21 stars 19 forks source link

docs(0004,0005): Redesign db replication and stateless brokers #8

Closed zmstone closed 3 years ago

zmstone commented 3 years ago

Since we have decided not to go for gossip based replication (at least not in the first iteration of 5.0). I have updated 0004 to a more conservative way of db replication.

For 0005, I have tried to simplify the node URI design by using atom node names to replace RegID (which has to be mapped to host:port string). After all, gen_rpc uses atom node names just like rpc.