Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/vkuznet/dbsproxy

Proxy server for dbs2go backends
https://github.com/vkuznet/dbsproxy

Last synced: 30 days ago
JSON representation

Proxy server for dbs2go backends

Awesome Lists containing this project

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 ...
```