diff options
author | dormando <dormando@rydia.net> | 2023-02-21 12:54:07 -0800 |
---|---|---|
committer | dormando <dormando@rydia.net> | 2023-02-22 11:12:51 -0800 |
commit | 833a7234bbaed264a9973141850a23df4eb1b939 (patch) | |
tree | 2b3c49440e923cef1f157085031387b86c51e7f0 /memcached.h | |
parent | af037c38cda6d9a07e82d0386202aa3c9d08faea (diff) | |
download | memcached-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