Member-only story

Working with Redis in Python

Donald Le
2 min readDec 25, 2019

--

I.What is Redis:
Redis is a NoSQL databases that is extremely fast, support caching and store value in different format.
Sometimes, if your data is uncategorized or you want to get it fast, you should think of Redis.

II.Installation:

Please go to Redis-official site for download and install Redis in your local environment.

After that, to check if it’s working.

redis-server

You should see the following like:

After that, to access to the local running server via command line, you can use

redis-cli

III.Work with remote redis via command line:
For example you need to work with the redis-cluster remote (Check out what is redis-cluster, you would need to know what is the domain name, what is the password for authen.

1.Connect The command would be like

redis-cli -h host_name -a pass_word -c

-h for the hostname

-a is for the password

  • c is for…

--

--

Donald Le
Donald Le

Written by Donald Le

A passionate automation engineer who strongly believes in “A man can do anything he wants if he puts in the work”.

No responses yet