Appearance
Redis
WARNING
Redis will be replaced by NATS KV store in the future.
Redis is a key-value store that is used in the project to cache data in the API service. It is used to store data that is frequently accessed and does not change often. This is done to reduce the load on the database and improve the performance of the API.
What do we cache?
We cache data about authenticated users, their roles, and permissions. This data is used in every request to the API to authorize the user and check if they have the required permissions to access the requested resource.