Top 7.0% forks on proxy.golang.org
proxy.golang.org : github.com/getlantern/peerscanner
peerscanner is a program that maintains entries in CDN and DNS services based on whether or not the corresponding Lantern servers are currently online. Online status is determined based on whether or not we can successfully proxy requests to popular sites like www.google.com in a reasonable amount of time via each host. Peers are registered and unregistered via a web-based API (see file web.go). Each host is modeled as an actor with its own goroutine that constantly tests connectivity via the host (see file host.go). For each host, various CDN and DNS entries are managed: Whenever peerscanner learns of a new server, it adds an entry of each kind above. Whenever peerscanner finds a server is offline, it deletes the round robin entries, but not the server specific ones, nor the Cloudfront distribution. [1] Peerscanner used to manage, and may manage again in the future, servers main simply contains the primary web serving code that allows peers to register and unregister as give mode peers running within the Lantern network
Registry
-
Source
- Documentation
- JSON
- codemeta.json
purl: pkg:golang/github.com/getlantern/peerscanner
License: Apache-2.0
Latest release: over 9 years ago
First release: over 9 years ago
Namespace: github.com/getlantern
Stars: 0 on GitHub
Forks: 1 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 2 months ago