Memory backend

A backend storing paths/values into an in-memory hashmap.


The memory backend implementation is not provided by a backend library but is embeded within the Storages plugin itself. It is automatically added at zenoh router startup (under "/@/router/<router-id>/plugin/storages/backend/memory" admin path) unless the --no-backend argument is used (see Storages plugin startup arguments).

Only 1 value per path is stored (the latest one). If publications arrive un-ordered, the ones that are older than the stored one are ignored.

Note that memory storages can be created at zenoh router startup using the --mem-storage argument (see Storages plugin startup arguments).

Properties for Backend creation


Properties for Storage creation