2 ms·
I'd really prefer it if the TCP connections were not in the main code, so people could add their own network protocols. In fact, I think the code should not ev
by amelius 10y ago
I'd really prefer it if the TCP connections were not in the main code, so people could add their own network protocols.
In fact, I think the code should not even call any kernel function. Raft is an algorithm after all.
- otoolep 10y agoYou can add whatever network connection you like (within reason), as the basis of an implementation. All the Hashicorp implementation requires is that it implements a certain interface. Check the docs: https://godoc.org/github.com/hashicorp/raft https://godoc.org/github.com/hashicorp/raft