Software /
code /
prosody
Diff
plugins/mod_storage_memory.lua @ 12512:b7f07585ec4c
net.server_epoll: Add support for TCP Fast Open
Requires a patch to LuaSocket adding this socket option,
https://github.com/lunarmodules/luasocket/pull/378
sysctl tweaks
net.ipv4.tcp_fastopen=3
net.ipv4.tcp_fastopen_blackhole_timeout_sec = 0
net.ipv4.tcp_fastopen_key=$(</proc/sys/kernel/random/uuid)
Disabled by default since it an advanced performance tweak unlikely to
be needed by most servers.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 08 Jul 2021 12:29:50 +0200 |
parent | 11277:1256f32f21b6 |
child | 12977:74b9e05af71e |