rust-postgres/postgres-native-tls
Petros Angelatos ca6d4b8162 tokio-postgres: buffer sockets to avoid excessive syscalls
The current implementation forwards all read requests to the operating
system through the socket causing excessive system calls. The effect is
magnified when the underlying Socket is wrapped around a TLS
implementation.

This commit changes the underlying socket to be read-buffered by default
with a buffer size of 16K, following the implementation of the official
client.

Signed-off-by: Petros Angelatos <petrosagg@gmail.com>
2021-05-24 17:58:30 +02:00
..
src tokio-postgres: buffer sockets to avoid excessive syscalls 2021-05-24 17:58:30 +02:00
Cargo.toml
CHANGELOG.md
LICENSE-APACHE
LICENSE-MIT