Redis
From the Side Navigation, choose Caching layer -> Redis.
Redis is an open-source in-memory storage, used as a distributed, in-memory key–value database, cache and message broker, with optional durability. At Alokai, Google Cloud Platform service called Memorystore is used as a managed Redis solution.
Learn more about Memorystore here
It is used to cache page response of your Storefront application to deliver it next time much faster and in general improve performance of your website.
Metrics
Alokai Console offers insights into various Redis metrics to help:
- Get a better understanding of usage.
- Make informed decisions about configurations.
- Troubleshoot problems more easily.
The list of all available metrics can be seen below:
Metric | Label | Unit |
---|---|---|
cpu | CPU | CPU seconds |
clients | connected | Clients |
clients | blocked | Clients |
keys | evicted | Keys/s |
keys | expired | Keys/s |
memory | max-memory | Memory (MiB) |
memory | usage | Memory (MiB) |
database-keys | keys | Keys (k) |
database-keys | keys-with-expiration | Keys (k) |
Displaying metrics is not supported for certain implementations of Redis. Contact your Customer Success Manager to upgrate or visit our Support
Invalidate Cache
Clearing cache is useful after deploying a new version of your storefront. This helps you avoid situations of serving out of date page content but instead serve a freshly generated storefront content that will be cached after first next request.
This section also show the last date of cache clear so that you can keep track of the up to date state of your data.