lni / dragonboat

A feature complete and high performance multi-group Raft library in Go.
Apache License 2.0
5.06k stars 541 forks source link

Question: Horizontal Scalability? #243

Closed touhonoob closed 2 years ago

touhonoob commented 2 years ago

Can horizontal scalability be achieved with dragonboat's multi-raft implementation? Is there any configuration that needs to be made for this particular feature? Thanks a lot!

lni commented 2 years ago

Yes. You can horizontally scale to use many different raft groups (each called a raft cluster) on many machines, you can increase the number of such raft groups/machines in your deployment when necessary.

Your dragonboat based program should have code to manage the creation of such raft groups and determines where to put those replicas (called raft nodes in dragonboat).