Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/vkuznet/dbsproxy
- Owner: vkuznet
- License: mit
- Created: 2021-07-12T00:17:47.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-08-18T19:03:54.000Z (over 3 years ago)
- Last Synced: 2024-10-30T06:27:35.500Z (3 months ago)
- Language: Go
- Size: 23.4 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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 ...
```