Skip to content

Commit

Permalink
Explicit ports in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
xzkostyan committed Jun 9, 2021
1 parent 8f37ed4 commit 7ac4bc8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/contents.rst.inc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ This part of the documentation focuses on step-by-step instructions for developm

Clickhouse-driver is designed to communicate with ClickHouse server from Python over native protocol.

ClickHouse server provider two protocols for communication: HTTP protocol and Native (TCP) protocol.
ClickHouse server provides two protocols for communication:

* HTTP protocol (port 8123 by default);
* Native (TCP) protocol (port 9000 by default).

Each protocol has own advantages and disadvantages. Here we focus on advantages of native protocol:

Expand All @@ -16,6 +19,7 @@ Each protocol has own advantages and disadvantages. Here we focus on advantages
Gzip compression is used in HTTP protocol.
* Query profile info is available over native protocol. We can read rows before limit metric for example.

Once again: clickhouse-driver uses native protocol (port 9000).

There is an asynchronous wrapper for clickhouse-driver: aioch. It's available `here <https://github.com/mymarilyn/aioch>`_.

Expand Down

0 comments on commit 7ac4bc8

Please sign in to comment.