You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/features/proxy/_index.md
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -9,16 +9,16 @@ This page provides a conceptual overview of the Memcached built-in proxy. For a
9
9
10
10
## Overview {#overview}
11
11
12
-
Starting with version 1.6.23, Memcached includes a built-in proxy. You can run a Memcached server that acts as a front-end proxy to any number of back-end Memcached servers. These backends can run anywhere that the proxy can connect to using TCP/IP.
12
+
Starting with version 1.6.23, Memcached includes a built-in proxy. You can run a Memcached server that acts as a frontend proxy to any number of backend Memcached servers. These backends can run anywhere that the proxy can connect to using TCP/IP.
13
13
14
-
With a proxied Memcached setup, clients always connect to the Memcached proxy, instead of connecting directly to the back-end Memcached servers. The proxy forwards cache requests to pools of backends that you define. This setup can provide improved load balancing and fault tolerance to applications with high-demand caching needs.
14
+
With a proxied Memcached setup, clients always connect to the Memcached proxy, instead of connecting directly to the backend Memcached servers. The proxy forwards cache requests to pools of backends that you define. This setup can provide improved load balancing and fault tolerance to applications with high-demand caching needs.
15
15
16
16
## Key concepts {#concepts}
17
17
18
18
<dl>
19
19
<dt>Proxy</dt>
20
20
<dd>
21
-
The Memcached <em>built-in proxy</em> runs as a front-end interface between client applications that need to read or write cached data, and the underlying back-end Memcached servers. The proxy supports <ahref="/protocols/basic">the Memcached basic command protocol</a>. This lets clients connect to a Memcached proxy and interact with it using the same techniques that they use with an ordinary Memcached server.
21
+
The Memcached <em>built-in proxy</em> runs as a frontend interface between client applications that need to read or write cached data, and the underlying backend Memcached servers. The proxy supports <ahref="/protocols/basic">the Memcached basic command protocol</a>. This lets clients connect to a Memcached proxy and interact with it using the same techniques that they use with an ordinary Memcached server.
22
22
</dd>
23
23
24
24
<dt>Backend</dt>
@@ -68,7 +68,7 @@ In typical proxy use, you let the proxy load the route library file as-is, with
68
68
69
69
The Memcached proxy uses various criteria to decide which of its known backends that it should forward data storage or retrieval requests to. These criteria can include the following:
70
70
71
-
***Key prefix.** For example, you can configure the router to send requests for the key `data/12345` to one pool of back-end servers, and requests for the key `cust/12345` to a different pool. Requests with no prefix or an unrecognized prefix can be handled by a designated default pool.
71
+
***Key prefix.** For example, you can configure the router to send requests for the key `data/12345` to one pool of backend servers, and requests for the key `cust/12345` to a different pool. Requests with no prefix or an unrecognized prefix can be handled by a designated default pool.
72
72
73
73
You can configure the proxy to recognize various shapes of prefixes, with different lead-in or separator characters between the prefix and the main key name. For example, if your application's cache keys look more like `--cust//12345` than `cust/12345`, you can still configure the proxy to recognize the former case as having the prefix `cust`.
Copy file name to clipboardExpand all lines: content/features/proxy/configure.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -60,7 +60,7 @@ settings {
60
60
61
61
### Define backend pools {#pools}
62
62
63
-
Use the required `pools{}` block to define the locations and other attributes of the back-end Memcached servers that the router directs queries to.
63
+
Use the required `pools{}` block to define the locations and other attributes of the backend Memcached servers that the router directs queries to.
64
64
65
65
You can optionally define more than one `pools{}` block. Doing so is functionally equivalent to combining all of their contents into a single `pools{}` block. For the sake of simplicity, this documentation uses example configuration files with only one `pools{}` block.
66
66
@@ -86,7 +86,7 @@ Replace the following:
86
86
* <var>HOST</var>: the IP address or hostname of the Memcached server you are defining as a backend.
87
87
* <var>PORT</var>: (optional) the TCP port of the Memcached server you are defining as a backend. The default value is `11211`.
88
88
89
-
To fine-tune the proxy settings for an individual backend, replace its entry in the `backends` list with a curly-braced list of back-end options. The list must include `host`.
89
+
To fine-tune the proxy settings for an individual backend, replace its entry in the `backends` list with a curly-braced list of backend options. The list must include `host`.
90
90
91
91
The following example defines two backends, including one that runs on port 11212 and has a ten-second connection timeout:
0 commit comments