Where does consensus algorithsm (RAFT) fit in the TCP/IP model?

Can someone explain to me where consensus algorithms fit within the TCP/IP model?  Let use Raft as an example.  Does it use multicast?  Does it use it's own transport number or TCP/UDP?  Does it live on the application layer?

Thanks
PeraHomanAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Martyn SpencerSoftware Developer / Linux System Administrator / Managing DirectorCommented:
Interesting question and one in which I would not consider myself "expert", so perhaps I should not be answering. However, by my reading, it has been argued that TCP/IP is an under specified two node consensus model. The application layer contains services like telnet, smtp and ftp and these by my understanding are fixed protocols that do not make use of anything more than two nodes in a consensus model either.

You could create something at the application layer that implements a consensus protocol such as RAFT, and I imagine that such a protocol could be used to control servers providing services. With that in mind, I would argue that it would reside in the application layer, or it could be built on top of an existing tcp/ip application layer component.

I am happy to concede that this may be inaccurate if a more knowledgeable individual steps forward.
0
nociSoftware EngineerCommented:
Raft specifies NOTHING w.r.t.network, the RAFT papers only talk about an RPC protocol... that can be Anything.


The protocol is just a service wrt. the IP stack. That it is implemented using UDP or TCP has nothing to do with it.
So OSI Layer 7 protocol according to the docmentation i could find it uses plain UDP or TCP ports.
Multicast may make it more efficient for some type of messages and that still leaves it as layer 7, application.
(arguably level 8).

RAFT is more avout the voting process, and that in itself is just an application.   That the application can cause a system to cease actions for anything else is not in scope of the network.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Networking Protocols

From novice to tech pro — start learning today.