hashicorp / memberlist

Golang package for gossip based membership and failure detection
Mozilla Public License 2.0
3.68k stars 443 forks source link

Is it feasible to reuse the gassip port for grpc service? #286

Open kcmvp opened 1 year ago

kcmvp commented 1 year ago

my applcation bases on memberlist. right now I am using SendReliable api to exchange data between nodes. right now I want to use grpc for my application. I know memberlist use one port for both (tcp/udp). Is it feasible to reuse the port my my grpc service?

thank you very much!

kcmvp commented 1 year ago

right now my findings/difficulty is

as memberlist process data/messsage based on the connection to make sure gossip functionality and seems only supply connection-oriented api , but grpc use method call by hidding the network connection.

how can I reuse the port but dont break memberlist itself functionality?