Cache

The provided back-ends by themselves are stateless. In order to build statefull applications, a caching service can be setup. To enable caching, select the checkbox and choose a cache Type. Currently, only redis is available.

MATLAB Production Server

Caching with redis can be configured in the MATLAB Production Server dashboard. After that, only one setting is required in the configuration:

  • connection_name Redis connection name as configured on the MATLAB Production Server.

Redis settings MATLAB Production Server

Python back-ends

The Python back-ends can be configured to connect to redis using the PyPi redis package. To connect, at least the following fields need to be specified:

  • host Host name of the redis server.
  • port Port on which the redis server runs.

Other fields are optional. See the project page for more information.