You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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>
0 commit comments