O'Reilly logo

Learning Redis by Vinoo Das

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Connection management

In this section we will be focusing on the way we can manage the connection to Redis. The functions provided under connection management in Redis help us to do the following:

  • AUTH: This command with the password allows the request to be processed if the password matches the configured password. Redis server can be configured with requirepass in the config file along with the password.
  • ECHO: This command echoes back the text sent to a Redis instance.
  • PING: This command replies with PONG when sent to a Redis instance.
  • QUIT: This command kills the connection held by the Redis instance for a client.
  • SELECT: This command helps in selecting a database in Redis for executing the command. Data in Redis can have separation of concern and ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required