dbsproxy

command module
v0.0.0-...-8d34c54 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 18, 2021 License: MIT Imports: 16 Imported by: 0

README

dbsproxy

Proxy server for dbs2go backends.

Every DBS query can be speed up by adding timestamp to it. Therefore, we need a proxy server which will consume DBS queries and pass them as goroutines to dbs2go backend servers. For that we can use Accept: application/ndjson (new line delimiter JSON) which will allow backend servers to send only JSON results. The proxy server will use GoLang sync.WaitGroup. Here is schematic view of the architecture:

                    |-> dbs2go (timerange t1-t2)
client -> dbsproxy -|-> dbs2go (timerange t2-t3)
                    |-> dbs2go ...

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL