Filip Pytloun | e21bc77 | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 1 | |
OlgaGusarenko | ebacbc2 | 2018-07-30 23:35:53 +0300 | [diff] [blame] | 2 | ====== |
| 3 | Usage |
| 4 | ====== |
Filip Pytloun | e21bc77 | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 5 | |
Ales Komarek | 37cf5fc | 2018-01-30 22:11:02 +0100 | [diff] [blame] | 6 | Memcached 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 |
| 8 | rendering. |
Filip Pytloun | e21bc77 | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 9 | |
Ales Komarek | 37cf5fc | 2018-01-30 22:11:02 +0100 | [diff] [blame] | 10 | Sample Metadata |
Filip Pytloun | e21bc77 | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 11 | =============== |
| 12 | |
Filip Pytloun | e21bc77 | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 13 | .. code-block:: yaml |
| 14 | |
| 15 | memcached: |
| 16 | server: |
| 17 | enabled: true |
| 18 | cache_size: 64 |
Pascal Liehne | 5cb231b | 2018-03-12 22:16:44 +0100 | [diff] [blame] | 19 | slabsize: 1m |
Filip Pytloun | e21bc77 | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 20 | bind: |
| 21 | address: 0.0.0.0 |
| 22 | port: 11211 |
| 23 | protocol: tcp |
| 24 | |
Oleksandr Bryndzii | 004a8ff | 2018-10-24 12:48:38 +0300 | [diff] [blame^] | 25 | Enable/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 Komarek | 37cf5fc | 2018-01-30 22:11:02 +0100 | [diff] [blame] | 52 | |
| 53 | References |
| 54 | ========== |
Filip Pytloun | e21bc77 | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 55 | |
| 56 | * http://memcached.org/ |
Filip Pytloun | 52999ac | 2017-02-02 13:02:03 +0100 | [diff] [blame] | 57 | |
Ales Komarek | 37cf5fc | 2018-01-30 22:11:02 +0100 | [diff] [blame] | 58 | |
Filip Pytloun | 52999ac | 2017-02-02 13:02:03 +0100 | [diff] [blame] | 59 | Documentation and Bugs |
| 60 | ====================== |
| 61 | |
OlgaGusarenko | ebacbc2 | 2018-07-30 23:35:53 +0300 | [diff] [blame] | 62 | * http://salt-formulas.readthedocs.io/ |
| 63 | Learn how to install and update salt-formulas |
Filip Pytloun | 52999ac | 2017-02-02 13:02:03 +0100 | [diff] [blame] | 64 | |
OlgaGusarenko | ebacbc2 | 2018-07-30 23:35:53 +0300 | [diff] [blame] | 65 | * https://github.com/salt-formulas/salt-formula-memcached/issues |
| 66 | In the unfortunate event that bugs are discovered, report the issue to the |
| 67 | appropriate issue tracker. Use the Github issue tracker for a specific salt |
| 68 | formula |
Filip Pytloun | 52999ac | 2017-02-02 13:02:03 +0100 | [diff] [blame] | 69 | |
OlgaGusarenko | ebacbc2 | 2018-07-30 23:35:53 +0300 | [diff] [blame] | 70 | * https://launchpad.net/salt-formulas |
| 71 | For feature requests, bug reports, or blueprints affecting the entire |
| 72 | ecosystem, use the Launchpad salt-formulas project |
Filip Pytloun | 52999ac | 2017-02-02 13:02:03 +0100 | [diff] [blame] | 73 | |
OlgaGusarenko | ebacbc2 | 2018-07-30 23:35:53 +0300 | [diff] [blame] | 74 | * https://launchpad.net/~salt-formulas-users |
| 75 | Join the salt-formulas-users team and subscribe to mailing list if required |
Filip Pytloun | 52999ac | 2017-02-02 13:02:03 +0100 | [diff] [blame] | 76 | |
OlgaGusarenko | ebacbc2 | 2018-07-30 23:35:53 +0300 | [diff] [blame] | 77 | * https://github.com/salt-formulas/salt-formula-memcached |
| 78 | Develop the salt-formulas projects in the master branch and then submit pull |
| 79 | requests against a specific formula |
Filip Pytloun | 52999ac | 2017-02-02 13:02:03 +0100 | [diff] [blame] | 80 | |
OlgaGusarenko | ebacbc2 | 2018-07-30 23:35:53 +0300 | [diff] [blame] | 81 | * #salt-formulas @ irc.freenode.net |
| 82 | Use this IRC channel in case of any questions or feedback which is always |
| 83 | welcome |