Redis (REmote DIctionary Server) is a fast in-memory key-value data store. Redis, due to its simplicity and high speed of work, is used to organize caching, session management, publisher-subscriber systems, and other tasks requiring maximum performance. Unlike Memcache(d)Redis allows you to store not only strings, but also arrays, dictionaries, non-repetitive sets, sorted sets, and other data structures. It also supports transactions (when either all operations are performed sequentially, or none), batch processing of commands (first a series of commands are executed, then a series of results are obtained)
To order Redis memory do the following:
To work with Redis from PHP, the Redis PHP module is installed on the hosting.
On business hosting, it should be borne in mind that if the maximum memory value is selected in the Redis settings, but part of the memory is consumed by other scripts, then the module will not be able to consume all the memory selected in the settings and will overwrite the oldest data in the cache. Therefore, when configuring, it is recommended to reserve part of the memory for scripts.
To connect to the Redis server, you must use the socket address specified in the section “Redis statistics»:
If the site is running on one of the listed CMS, to configure Redis use the corresponding instruction:
To view statistics on Redis usage, see “Hosting "In the block"Additional services»Click«Redis statistics»: