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: docs/guides/configure_memcached.markdown
+19-34Lines changed: 19 additions & 34 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,42 +17,27 @@ has_toc: false
17
17
---
18
18
# Configuring memcached as the caching store
19
19
20
-
Correctly configuring memcached for your needs is a very delicate task. But courtesy of [@thobianchi](https://github.com/thobianchi) this might be a good start.
20
+
If you want to use [memcached](https://memcached.org/) as a caching store, you first have to deploy it separately (e.g. via separate helm chart). The existing deployments can be referenced in the `values.yaml` so that they are used as caching stores.
21
+
22
+
Here's how to configure the memcached's via the values:
21
23
22
24
{% raw %}
23
25
```yaml
24
-
index_cache:
25
-
backend: memcached
26
-
memcached:
27
-
addresses: 'dns+{{ include "cortex.fullname" $ }}-memcached-blocks-index:11211'
28
-
timeout: 300ms
29
-
max_idle_connections: 750
30
-
max_async_concurrency: 100
31
-
max_async_buffer_size: 10000000
32
-
max_get_multi_concurrency: 750
33
-
max_get_multi_batch_size: 1000
34
-
max_item_size: 16777216
35
-
chunks_cache:
36
-
backend: memcached
37
-
memcached:
38
-
addresses: 'dns+{{ include "cortex.fullname" $ }}-memcached-blocks:11211'
39
-
timeout: 300ms
40
-
max_idle_connections: 750
41
-
max_async_concurrency: 100
42
-
max_async_buffer_size: 10000000
43
-
max_get_multi_concurrency: 750
44
-
max_get_multi_batch_size: 1000
45
-
max_item_size: 33554432
46
-
metadata_cache:
47
-
backend: memcached
48
-
memcached:
49
-
addresses: 'dns+{{ include "cortex.fullname" $ }}-blocks-metadata:11211'
0 commit comments