Home
last modified time | relevance | path

Searched refs:to (Results 1 – 25 of 32) sorted by relevance

12

/memcached-1.6.32/doc/
DDoxyfile67 # Set to NO to disable this.
114 # path to strip.
120 # the reader which header file to include in order to use a class.
141 # The MULTILINE_CPP_IS_BRIEF tag can be set to YES to make Doxygen
291 # Set it to YES to include the internal documentation.
299 # and Mac users are advised to set this option to NO.
339 # Note: This option applies only to the class list, not to the
452 # to stderr.
564 # files to browse (i.e. when SOURCE_BROWSER is set to YES).
619 # which an include is specified. Set to NO to disable this.
[all …]
Dprotocol.txt7 (configurable) port; clients connect to that port, send commands to
10 There is no need to send any command to end the session. A client may
19 compared to this).
143 (relative to an item or to an operation requested by the client) to
240 of 16, but you might want to restrict yourself to 16 bits for
593 and "3", to match up responses to the request.
613 It is possible to access an item without causing it to be "bumped" to the head
635 created a 'W' flag is added to the response to indicate to a client that they
993 - "OK" to indicate the page has been scheduled to move
1212 - "OK" to indicate the watcher is ready to send logs.
[all …]
Dnew_lru.txt1 In versions new enough to have the `-o lru_maintainer` option, a new LRU
14 HOT, move to WARM, if active in WARM, stay in WARM. If active in COLD, move
15 to WARM.
16 The exception is that items active in COLD are immediately moved to WARM.
23 limits are reached. This includes moves from COLD to WARM.
26 The primary goal is to better protect active items from "scanning". Items
29 eviction), move to WARM. There they can stay relatively protected.
31 A secondary goal is to improve latency. The LRU locks are no longer used on
33 background thread is likely to find expired items and release them back to the
36 It is recommended to use this feature with the lru crawler as well:
[all …]
Dstorage.txt15 adds it to the end of a queue. It then signals the IO thread to run. Once an
21 actively deleted or passively reaped due to TTL expiration. This allows the
22 engine to intelligently reclaim pages.
27 Callbacks are issued from the IO threads. It's thus important to keep
28 processing to a minimum. Callbacks may be issued out of order, and it is the
32 With DIRECT_IO support, buffers submitted for read/write will need to be
39 handled overall as a global pool, but writes can be redirected to specific
57 anything we want to keep, pull it back into RAM before pages is freed.
66 memory has been allocated out to slab classes, and there is less than an
84 "counter % rate == 0" check. Setting to 1000 means one out of every 1000
[all …]
Dthreads.txt14 - A secondary small hash table of locks is used to lock an item by its hash
17 - This secondary hash table is mapped to the central hash tables buckets. This
18 allows multiple threads to access the hash table in parallel. Only one
20 - atomic refcounts per item are used to manage garbage collection and
24 system must attempt to lock the item's bucket, which is done with a trylock
25 to avoid deadlocks. If a bucket is in use (and not by that thread) it will
26 walk up the LRU a little in an attempt to fetch a non-busy item.
30 - Raw accesses to the slab class are protected by a global slabs_lock. This
48 Various locks exist for background threads. They can be used to pause the
56 - In my testing, the remaining global STATS_LOCK calls never seem to collide.
[all …]
Dtls.txt5 We are required to encrypt Memcached network traffic as we deploy our servers in public cloud
6 environments. We decided to implement SSL/TLS for TCP at the network layer of Memcached
8 and reduced throughput (to be quantified).
19 the server to secure a specific TCP port.
23 transparently offload cryptography operations to the kernel. Depending on a variety of factors
34 Bufferevents can use the OpenSSL library to implement SSL/TLS. Our experiment used
35 a socket-based bufferevent that tells OpenSSL to communicate with the network directly over.
37 callbacks. Memcached still has to setup the SSL Context but SSL handshake and object
38 management is done via the “bufferevent_” API. While this was fairly easy to implement,
119 SSL_write to simulate the sendmsg API.
[all …]
Dprotocol-binary-range.txt16 This memo explains extensions to the memcache binary protocol for use
37 time. It is inappropriate to use Internet-Drafts as reference
38 material or to cite them other than as "work in progress."
47 This document is subject to BCP 78 and the IETF Trust's Legal
48 Provisions Relating to IETF Documents
52 to this document. Code Components extracted from this document must
95 It is a goal of this document to provide sufficient information in
104 document are to be interpreted as described in [KEYWORDS].
180 transport to request byte ranges of the value for a key. In the
256 Bradner, S., "Key words for use in RFCs to Indicate
[all …]
Dnapi_ids.txt4 By default memcached assigns connections to worker threads in a round-robin
5 manner. NAPI ID based worker thread selection enables worker threads to be
14 This allows memcached to split the incoming flows among threads based on
18 and a HW NIC queue streamlines the flow of data from the NIC to the
28 not specified, or the conditions not met, the code defaults to round robin
Dprotocol-binary.txt38 time. It is inappropriate to use Internet-Drafts as reference
39 material or to cite them other than as "work in progress."
48 This document is subject to BCP 78 and the IETF Trust's Legal
49 Provisions Relating to IETF Documents
127 document are to be interpreted as described in [KEYWORDS].
479 bundles up IOs to send to the client in one go.
710 errors should not be allowed to go unnoticed.
907 o 8 byte value to add / subtract
937 to zero.
1125 Close the connection to the server.
[all …]
DCONTRIBUTORS4 effort to the memcached project. If you don't see your name mentioned
5 send email to the memcached mailing list so you can be immortalized.
/memcached-1.6.32/
DDoxyfile68 # Set to NO to disable this.
115 # path to strip.
276 # determine which symbols to keep in memory and which to flush to disk.
365 # Set it to YES to include the internal documentation.
373 # and Mac users are advised to set this option to NO.
419 # Note: This option applies only to the class list, not to the
554 # to stderr.
670 # files to browse (i.e. when SOURCE_BROWSER is set to YES).
726 # which an include is specified. Set to NO to disable this.
966 # to force them to be regenerated.
[all …]
DChangeLog179 to do atomic changes to an existing key.
200 to be NULL if not used, setting msg_namelen to 0 isn't enough.
241 * Move unistd.h to memcached.h to get rid of warnings
242 * Add string.h to thread.c to get correctly prototyped strerror()
275 script to test-suite to test for tabs.
327 * Convert some sprintf calls to snprintf to protect against
365 need keys, to avoid needing to call strlen() repeatedly.
454 seem to work properly. Basically, if you try to add a key which
463 Here is a patch to configure.ac and Makefile.am to put the man page in
466 path (it tries to install to doc/memcached.1). This is the correct
[all …]
DCONTRIBUTING.md3 It's worth repeating here, that the biggest contribution anyone can make is to
4 help run new releases! Any feedback we get is greatly appreciated. Hard to
5 know what to work on and what to prioritize if we don't hear from you :)
7 The easiest thing to do is to run the latest version on one machine in your
8 cluster sometimes. Then when you do need to upgrade, you should also have
DHACKING13 once in order to create the configure script.
22 Though not required, there are a couple of things you can add to git
23 to help development.
27 The pre-commit hook can be used to ensure that your tree passes tests
28 before allowing a commit. To do so, add the following to
36 Because the version number changes on each commit, it's good to use a
37 post commit hook to update the version number after each commit so as
38 to keep the reporting accurate. To do so, add the following to
63 And look for calls which failed due to access restriction. They will
64 show up with result: "-1 (errno 13)". Then add them to linux_priv.c.
[all …]
DREADME.md4 store intended to be used in a distributed system.
12 If you're trying to troubleshoot odd behavior or timeouts, see:
16 list to ask questions, github issues aren't seen by everyone!
23 * openssl (optional) - enables TLS support. need relatively up to date
24 version. pkg-config is needed to find openssl dependencies (such as -lz).
28 Be warned that the -k (mlockall) option to memcached might be
31 should never go to disk, or you've lost the whole point of it)
39 Feel free to use the issue tracker on github.
43 patch, allow notifications to vendor lists. Then we push a fix release and your
Dconfigure.ac192 AC_DEFINE([ENABLE_SASL],1,[Set to nonzero if you want to include SASL])
200 [Set to nonzero if you want to enable a SASL pwdb])])
208 AC_DEFINE([ENABLE_DTRACE],1,[Set to nonzero if you want to include DTRACE])
230 AC_DEFINE([EXTSTORE],1,[Set to nonzero if you want to enable extstore])
234 AC_DEFINE([TLS],1,[Set to nonzero if you want to enable TLS])
238 AC_DEFINE([ASAN],1,[Set to nonzero if you want to compile using ASAN])
242 AC_DEFINE([STATIC],1,[Set to nonzero if you want to compile a statically linked binary])
250 AC_DEFINE([PROXY],1,[Set to nonzero if you want to enable proxy code])
257 AC_DEFINE([HAVE_LIBURING],1,[Set to nonzero if you want to enable proxy uring handling])
864 dnl to detect the function ;-)
[all …]
Dproxy_config.c519 mcp_pool_proxy_t *pp = lua_newuserdatauv(to, size, 0); in _copy_pool()
520 luaL_setmetatable(to, "mcp.pool_proxy"); in _copy_pool()
544 lua_pushnil(to); in _copy_config_table()
553 _copy_pool(from, to, thr); in _copy_config_table()
556 mcp_ratelim_proxy_tbf(from, to); in _copy_config_table()
568 lua_pushinteger(to, lua_tointeger(from, -1)); in _copy_config_table()
570 lua_pushnumber(to, lua_tonumber(from, -1)); in _copy_config_table()
577 lua_pushboolean(to, lua_toboolean(from, -1)); in _copy_config_table()
583 lua_newtable(to); // throw new table on worker in _copy_config_table()
613 _copy_config_table(from, to, thr); // push next value. in _copy_config_table()
[all …]
DBUILD3 To build memcached in your machine from local repo you will have to install
23 You can telnet into that memcached to ensure it is up and running
Dproxy_ratelim.c41 int mcp_ratelim_proxy_tbf(lua_State *from, lua_State *to) { in mcp_ratelim_proxy_tbf() argument
44 …struct mcp_ratelim_global_tbf **lim_p = lua_newuserdatauv(to, sizeof(struct mcp_ratelim_global_tbf… in mcp_ratelim_proxy_tbf()
45 luaL_setmetatable(to, "mcp.ratelim_proxy_tbf"); in mcp_ratelim_proxy_tbf()
/memcached-1.6.32/scripts/
Dmemcached.service1 # It's not recommended to modify this file in-place, because it will be
2 # overwritten during upgrades. If you want to customize, the best
3 # way is to use the "systemctl edit" command to create an override unit.
5 # For example, to pass additional options, create an override unit
48 # build time to uncomment them if the target platform supports them.
51 # the same time, or to change existing memory mappings to become executable
58 # kernel modules to work.
65 # mechanism. Almost no services need to write to these at runtime; it is hence
66 # recommended to turn this on for most services.
72 # to the control groups hierarchies; it is hence recommended to turn this
[all …]
D[email protected]1 # It's not recommended to modify this file in-place, because it will be
2 # overwritten during upgrades. If you want to customize, the best
3 # way is to use the "systemctl edit" command to create an override unit.
5 # For example, to pass additional options, create an override unit
53 # build time to uncomment them if the target platform supports them.
56 # the same time, or to change existing memory mappings to become executable
63 # kernel modules to work.
70 # mechanism. Almost no services need to write to these at runtime; it is hence
71 # recommended to turn this on for most services.
77 # to the control groups hierarchies; it is hence recommended to turn this
[all …]
Dmemcached-tool23 my ($from, $to);
31 $to = shift;
33 undef $mode if $to < 6 || $to > 17;
/memcached-1.6.32/vendor/mcmc/
DREADME.md7 sent to memcached. It has no 3rd party dependencies and is designed to
11 ability to add many servers to a hash table of some kind and routing keys to
12 specific servers. The MCMC base client is designed to be an object that
15 Allocation-free (aside from a call to `getaddrinfo()`) means it does not
19 memory overhead to a handful of bytes plus the TCP socket.
21 MCMC is designed to be a building block for users designing full clients.
24 * A client author wants to implement the "get" command
26 key to fetch and embeds that into a text buffer to look like `get [key]\r\n`
28 returning it to the client.
36 hopefully leading to higher quality.
[all …]
/memcached-1.6.32/m4/
Dc99-backport.m43 # If the C compiler is not in ISO C99 mode by default, try to add an
4 # option to output variable CC to make it so. This macro tries
6 # considers the compiler to be in ISO C99 mode if it handles _Bool,
148 dnl Solaris (unused because it causes the compiler to assume C99 semantics for
159 # by trying to compile a program of TEST-PROLOGUE and TEST-BODY. If this fails,
161 # helps, append it to CC. If eventually successful, run ACTION-IF-AVAILABLE,
164 [AC_MSG_CHECKING([for $CC option to accept ISO ]m4_translit($1, [c], [C]))
/memcached-1.6.32/t/
DREADME-TLS.md4 to always be in the future, so instead of a normal cert validity of 1-5 years.
36 **NOTES**: *.csr files are certificate signing requests which are needed in order to sign certifica…

12