summaryrefslogtreecommitdiff
path: root/memcached.h
diff options
context:
space:
mode:
authordormando <dormando@rydia.net>2023-02-21 12:54:07 -0800
committerdormando <dormando@rydia.net>2023-02-22 11:12:51 -0800
commit833a7234bbaed264a9973141850a23df4eb1b939 (patch)
tree2b3c49440e923cef1f157085031387b86c51e7f0 /memcached.h
parentaf037c38cda6d9a07e82d0386202aa3c9d08faea (diff)
downloadmemcached-833a7234bbaed264a9973141850a23df4eb1b939.tar.gz
proxy: redo libevent handling code
The event handling code was unoptimized and temporary; it was slated for a rewrite for performance and non-critical bugs alone. However the old code may be causing critical bugs so it's being rewritten now. Fixes: - backend disconnects are detected immediately instead of on the next time they are used. - backend reconnects happen _after_ the retry timeout, not before - use a persistent read handler and a temporary write handler to avoid constantly calling epoll_ctl syscalls for potential performance boost. Updated some tests for proxyconfig.t as it was picking up the disconnects immediately. Unrelated to a timing issue I resolved to the benchmark.
Diffstat (limited to 'memcached.h')
0 files changed, 0 insertions, 0 deletions