blob: 61b9d06b3ed061f3a409d958ee26e0e948f46a4c [file] [log] [blame]
Filip Pytloune21bc772015-10-06 16:28:32 +02001
OlgaGusarenkoebacbc22018-07-30 23:35:53 +03002======
3Usage
4======
Filip Pytloune21bc772015-10-06 16:28:32 +02005
Ales Komarek37cf5fc2018-01-30 22:11:02 +01006Memcached is an in-memory key-value store for small chunks of arbitrary data
7(strings, objects) from results of database calls, API calls, or page
8rendering.
Filip Pytloune21bc772015-10-06 16:28:32 +02009
Ales Komarek37cf5fc2018-01-30 22:11:02 +010010Sample Metadata
Filip Pytloune21bc772015-10-06 16:28:32 +020011===============
12
Filip Pytloune21bc772015-10-06 16:28:32 +020013.. code-block:: yaml
14
15 memcached:
16 server:
17 enabled: true
18 cache_size: 64
Pascal Liehne5cb231b2018-03-12 22:16:44 +010019 slabsize: 1m
Filip Pytloune21bc772015-10-06 16:28:32 +020020 bind:
21 address: 0.0.0.0
22 port: 11211
23 protocol: tcp
24
Oleksandr Bryndzii004a8ff2018-10-24 12:48:38 +030025Enable/Disable tcp/udp listener
26===============================
27
28.. code-block:: yaml
29
30 memcached:
31 server:
32 enabled: true
33 cache_size: 64
34 slabsize: 2m
35 threads: 1
36 bind:
37 address: 0.0.0.0
38 port: 11211
39 proto:
40 tcp:
41 enabled: True
42 udp:
43 enabled: True
44======
45 Note:
46======
47 The following pillar option is deprecated and does not affect any functionality:
48================================================================================
49.. code-block:: yaml
50 bind:
51 protocol: tcp
Ales Komarek37cf5fc2018-01-30 22:11:02 +010052
53References
54==========
Filip Pytloune21bc772015-10-06 16:28:32 +020055
56* http://memcached.org/