Skip to content

Example of eventually consistent cluster of gRPC services with hashicorp/memberlist

Notifications You must be signed in to change notification settings

davidmontoyago/go-grpc-config-gossiping-cluster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-grpc-config-gossiping-cluster

Example of eventually consistent cluster of gRPC services with hashicorp/memberlist.

Uses Memberlist gossiping layer to replicate config data across nodes. Data is sent over the wire as gobs.

See

SWIM membership protocol

Run

# generate code if needed
make grpc

# watch your TCP/UDP connections
watch 'netstat -an | grep "790\|900"'

# run a gossiping cluster of gRPC services
make run-cluster

# send a put config request to any node; new config should be gossiped infection-style to the other nodes
make run-client

About

Example of eventually consistent cluster of gRPC services with hashicorp/memberlist

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published