1. Home
  2. Performance
  3. How to Use Redis

How to Use Redis

Redis means REmote DIctionary Server. In this article, we will look at how to use it on N0C for a given account.

Note: The glossary contains explanations on a wide range of subjects and can be consulted to clarify certain terms.

Prerequisites

Enter the following address in your web browser: https://mg.n0c.com/en/.

What is Redis?

Redis is a key-value database, primarily used as an in-memory database, cache and message broker.

Designed for fast performance, Redis is capable of handling large amounts of data, making it a popular choice for applications requiring very fast response times. In fact, unlike traditional disk-based databases, Redis stores data directly in memory, making it extremely fast for reads and writes.

Redis and Memcached are similar and both allow cache flushing, but Redis offers better memory management.
Enabling them does not change anything as such, unless a use is made of them, in a CMS or in a client-created application.

How to Activate Redis

If it is justified to activate Redis:

  1. From the context menu account, choose Performance -> Redis, to open the dialog box of the same name:
  1. The Path shows the user the complete network socket. When queried, statistics are displayed.
  2. Set the Status to ON (initially, it defaults to OFF):
  1. A confirmation message is displayed and the possible actions are activated.

If you are an advanced user and use a CMS that supports Redis, please refer to the articles in the CMS/Applications section.

Actions

The various actions possible when the Redis status is ON are described in the table below.

ActionSignification
StopTo stop Redis.
RestartTo restart Redis without stopping first.
Delete CacheTo empty the cache.
StartTo start Redis after you have stopped it.

How to Deactivate Redis

To deactivate Redis for your account, simply set the Status to OFF:

A confirmation message is displayed and possible actions are automatically deactivated.

Updated on November 12, 2024

Related Articles