Caches are used to store data returned from a Connector to improve API call performance. Currently, Xapix supports two types of cache connections:
Type | Description |
​Redis​ | Open source in-memory data structure store used as a database, cache and message broker. For more information, see here. |
​Memcached​ | Open source distributed memory object caching system that takes unused memory in a system and makes it accessible to areas in need of memory. For more information, see here. |
After creating a cache connection, you can share this resource within an organization.
A Cache connection can be set up either on the Edit Connector page or from the Cache Connections option on the Home menu of a project.
To create a Redis connection, follow these steps.
From either the Edit Connector page or the Cache Connections item on the Home menu, click Redis and enter the following:
Name: Give the connection a descriptive name.
URI: Enter the URI that points to an existing Redis system.
Click Create.
A list of existing Cache Connections will appear.
Dismiss the confirmation dialog.
To create a Memchached connection, follow these steps.
From either the Edit Connector page or the Cache Connections item on the Home menu, click Memcached and enter the following:
Name: Give the connection a descriptive name.
Hostnames: Enter the hostname and port number of an existing memcached system.
Click Create.
A list of existing Cache Connections will appear.
Dismiss the confirmation dialog.
When adding multiple hostnames, insert commas between each entry.