4 ms·
You can use netfilter/iptables on linux to switch code behind a listening port. I'd rather do that than a busy-wait utility, etc.
by redis_mlc 6y ago
You can use netfilter/iptables on linux to switch code behind a listening port. I'd rather do that than a busy-wait utility, etc.
- dividuum 6y agoHow so? I assume adding -j DROP temporarily while the code restarts? Or is there any other trick?