diff options
author | dormando <dormando@rydia.net> | 2021-07-28 18:09:21 -0700 |
---|---|---|
committer | dormando <dormando@rydia.net> | 2021-08-09 17:09:08 -0700 |
commit | 331dca5d644edefd99893c44827bdf2ca72f85be (patch) | |
tree | f3c51c0e55ef1b55435df715bf47a0899fd5fbd5 /memcached.h | |
parent | e52734366c94475db33d3239f48b4542ec2d9c2f (diff) | |
download | memcached-331dca5d644edefd99893c44827bdf2ca72f85be.tar.gz |
thread: per-worker-thread connection event queues
help scalability a bit by having a per-worker-thread freelist and queue
for connection event items (new conns, etc). Also removes a hand-rolled
linked list and uses cache.c for freelist handling to cull some
redundancy.
Diffstat (limited to 'memcached.h')
-rw-r--r-- | memcached.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/memcached.h b/memcached.h index 739c939..4c91560 100644 --- a/memcached.h +++ b/memcached.h @@ -629,7 +629,7 @@ typedef struct { int notify_receive_fd; /* receiving end of notify pipe */ int notify_send_fd; /* sending end of notify pipe */ struct thread_stats stats; /* Stats generated by this thread */ - struct conn_queue *new_conn_queue; /* queue of new connections to handle */ + struct conn_queue *ev_queue; /* Worker/conn event queue */ cache_t *rbuf_cache; /* static-sized read buffers */ mc_resp_bundle *open_bundle; cache_t *io_cache; /* IO objects */ |