When creating a new key, it is essential to check that it is not already present in memcached.
When a memcached key does not refer to the "STA" or "DYN" fork of a system element, the format of its name is free and can be arbitrary defined, provided that it is not already used.
Even though the name format is arbitrary, it is a good practice to adopt conventional extensions (e.g. MYNEWVAL_DAT).
To avoid the proliferation of extensions, try using the ones listed in the table below:
Extension | Description |
---|---|
_AUX | Auxiliary dataset associated to a system element (besides _STA and _DYN) . If it is necessary to add data to an element class, but it is not possible to modify the STA and DYN datasets (to keep the class compatible with the pre-existing software) it is possible to insert an additional data fork associated with the element, with the extension "_AUX". When using the "_AUX" extension, it is mandatory that the name preceeding the extension be equal to the element name preceeding the _STA and _DYN extensions. |
_BUF | Data buffers (FIFOs , circular buffers, etc...), not necessarily associated with a system element. |
_INFO | Static metadata, not necessarily associated with a system element. |
_DAT | Generic data structures, not necessarily associated with a system element. |