View Code? Open in Web Editor
NEW
Fast http client for SELECT queries in clickhouse
License: MIT License
chclient's Introduction
chclient - fast http client for ClickHouse
Optimized for reading large responses.
May read more than 20M rows per second on a single CPU core thanks
to tsvreader .
Easily reads responses with billion rows thanks to response streaming.
There is no need to fit the whole response in memory.
Works ideally with chproxy .
Sends requests to fallback address if requests to primary clickhouse
address fail.
See these docs .
chclient's People
Contributors
chclient's Issues
Since last changes in https://github.com/Vertamedia/chproxy we also need to support additional query params as like:
no_cache
cache_namespace
default_format
This list might be extended in future, so it must be configurable for each request
Chclient is great for predefined configuration, but if there is a necessity to request different sources with different users - problems appears.
I suggest to add parameterized Do() method, where you can pass configuration