20 Commits

Author SHA1 Message Date
Adin Schmahmann
9052b531cc RendezvousPoint and RendezvousClient now return the server's TTL on Registered records.
Default TTL for discovery client increased
discovery client now utilizes server cookie for added efficiency
2019-05-31 18:58:46 -04:00
Adin Schmahmann
91cdb88828 Switched from gx to go mod and started using go-libp2p-core interfaces 2019-05-28 14:41:28 -04:00
vyzo
c540724f1f two interfaces for client-side: RendezvousPoint and RendezvousClient
RendezvousClient soon to be stateful.
2018-04-28 12:05:21 +03:00
vyzo
aa7f9daaa8 client: add TODO for robust discovery error recovery 2018-04-25 11:06:08 +03:00
vyzo
e530204107 use randomized exponential backoff in error retry for persistent client registrations 2018-04-24 21:26:06 +03:00
vyzo
6c4fda5295 test client specific functionality 2018-04-24 18:43:43 +03:00
vyzo
aa3f46c897 user parameter for ttl in Register 2018-04-23 14:50:46 +03:00
vyzo
fbaf21c098 client: add TODO comment for adaptive backoff 2018-04-23 13:38:34 +03:00
vyzo
8181424229 client: use larger batch in discovery, only poll immediately if full 2018-04-23 13:34:16 +03:00
vyzo
7d72fc79b3 service implementation 2018-04-23 11:54:25 +03:00
vyzo
e5a72b9bea rendezvous interface should expose full registration information
- instead of returning PeerInfos, return Registration objects in discovery
- provide utility functions at module level for peer info discovery
2018-04-21 18:51:18 +03:00
vyzo
aeac2e2a0f update for response error changes in the protocol 2018-04-21 12:06:27 +03:00
vyzo
7e5664ce7c use discriminated registration errors 2018-04-20 14:38:12 +03:00
vyzo
1506c04f1a simplify Rendezvous interface 2018-04-20 13:07:01 +03:00
vyzo
e3d343f34a include namespace in error logs 2018-04-20 12:01:35 +03:00
vyzo
a107e34a06 interface ergonomics 2018-04-19 22:46:13 +03:00
vyzo
b7bc940aed add error notification for background register/discover 2018-04-19 22:34:46 +03:00
vyzo
268abf3357 more fine-grained rendezvous api 2018-04-19 22:29:52 +03:00
vyzo
f94b0b48b3 update client interface
It's DiscoverOnce and Discover instead of Discover and DiscoverAsync
2018-04-19 20:37:48 +03:00
vyzo
0cbcbf6e24 client implementation 2018-04-19 20:18:42 +03:00