micro/util
Milos Gajdos bf42c028fb
Added sync message. Refactored connect flow. Adverts are gossipped.
This commit adds a Sync message which is sent as a reply to Connect
message. This should in theory speed up convergence of a (re)connecting
node.

We respond to Sync message by sending a peer message back to the peer
origin of the Sync message. We consequently update our routing table and
peer graph with the data sent in via Sync message.

We now gossip advertse to up to 3 randomly selected peers instead of
sending a multicast message to the network.

Equally, Solicitation i.e. full table adverts are gossipped to a
randomly selected peer. If that fails we send a multicast message to the
network.
2020-01-13 20:14:29 +00:00
..
addr linting fixes 2019-12-04 00:22:02 +03:00
backoff Add util 2019-05-30 23:52:10 +01:00
buf move all the buffer references to util/buf 2019-07-28 19:33:24 +01:00
ctx update ctx test 2019-12-31 13:53:48 +00:00
file Add util 2019-05-30 23:52:10 +01:00
grpc Add working grpc proxy config 2019-06-18 18:51:52 +01:00
http Remove Port from registry 2019-07-08 08:01:42 +01:00
io add io.ReadWriteCloser ontop of transport.Socket 2019-08-07 15:02:00 +01:00
kubernetes Kubernetes Registry (#1064) 2019-12-27 20:08:46 +00:00
log Cleanup go mod 2019-12-18 16:12:25 +00:00
mux Move debug handler to service dir 2019-12-04 12:27:30 +00:00
net fix registry addr error for mq-rpc 2019-08-14 21:32:28 +08:00
proto Added sync message. Refactored connect flow. Adverts are gossipped. 2020-01-13 20:14:29 +00:00
ring go fmt 2019-12-17 18:24:00 +00:00
socket Fixing dead code and go vet moaning 2019-12-05 16:10:49 +00:00
test move test data 2019-11-16 18:52:27 +00:00
tls Add util 2019-05-30 23:52:10 +01:00
wrapper update wrapper test 2019-12-31 13:45:49 +00:00