ClickHouse / ClickHouse/ClickHouse
close rpc call in native protocol
Open
comp-protocols
easy task
external
feature
help wanted
- Dominant language
- C++
- Stars
- 49.9k
- Forks
- 9k
- Avg merge
- 21h 32m
- Merged PRs (30d)
- 515
Description
Frequent connections are odd, but used in real life.
Closing connection from client side leaves client socket in TIME_WAIT state, which in heavy load cases leads to outgoing port pool exhaust.
Adding "close" rpc call to protocol for asking server to close connection will be useful in this case.
Contributor guide
Assessment
This issue has not been assessed yet.