aboutsummaryrefslogtreecommitdiffstats
path: root/util/ip.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2019-08-28 01:41:00 +0200
committerKim Alvefur <zash@zash.se>2019-08-28 01:41:00 +0200
commit4cc299fc0214368012a2775b94c746d2290327a0 (patch)
treee5fd14cd67d67a1e6d6ed75009a8565aa387ab3f /util/ip.lua
parentf39535cfd039d481457c27cee5154bdfb1ff3621 (diff)
downloadprosody-4cc299fc0214368012a2775b94c746d2290327a0.tar.gz
prosody-4cc299fc0214368012a2775b94c746d2290327a0.zip
net.server_epoll: Add support for opportunistic writes
This tries to flush data to the underlying sockets when receiving writes. This should lead to fewer timer objects being around. On the other hand, this leads to more and smaller writes which may translate to more TCP/IP packets being sent, depending on how the kernel handles this. This trades throughput for lower latency.
Diffstat (limited to 'util/ip.lua')
0 files changed, 0 insertions, 0 deletions