Story #1885
Updated by Tom Clegg almost 11 years ago
Useful for external and federated clients.
* Use API host and token provided in environment variables to get (and periodically update) the list of Keep servers.
* Forward @Authorization@ header if provided by the client. No need to verify it: Keep servers will do that.
* When writing, use 2x replication, i.e., write to 2 Keep servers (future: client specifies this in a header)
* Use node selection algorithm (see Python SDK) to select probe order when reading and writing.
Implementation
* Probably reasonable to do this with Go. Perhaps something like https://github.com/elazarl/goproxy or even plain net/http.