Module cache

Module cache 

Source
Expand description

A key-value cache shared with all instances of the extension.

Structsยง

Cache
The cache is a key-value store shared across Wasm instances. As Wasm is single threaded, the gateway uses a pool of Wasm instances to execute extensions. Cache with the same name will be the same across those instances and share the same data.
CacheBuilder
The builder for the cache. It allows to set the name, size, ttl and timeout of the cache.