Redis is an open source program which is used to store the data models in the format of key-value.
- STRINGS
- HASHES
- LISTS
- SETS
- SORTED SETS
- BITMAPS
- HYPERLOGLOGS
-
It holds the database in the memory by using the disk only for persistence.
-
It contains highly rich data types when compared with many other key-value data store.
-
It helps to replicate data to any number of slaves as possible.
-
Fast = It is very fast in which it can perform above 1,10,000 SETs per/sec and above 81,000 GETs per/sec.
-
Rich Data type = Support Data types like set, list, hashes, string and sorted set.
-
Atomic = All operation in Redis are atomic, which ensures that if two clients concurrently access, Redis server will receive the updated value.
-
Multi-utility tool = It is used in many number of cases such as caching, messaging-queues, web application etc,,,
Here is the link to direct download Redis on Windows system.
Direct Link = https://github.com/microsoftarchive/redis/releases/download/win-3.0.504/Redis-x64-3.0.504.msi
COMPLETE INSTALLATION PROCESS = Here you can able to find the step by step installation and verfication of REDIS.
Since REDIS is command line based I have uploaded defination, syntax and sample output in the form of "PDF" file. So use this README.md file for making proper use of this REDIS hands on.
-
STRING = In this STRING datatype in REDIS has been explained.
-
SET & GET = In this SET & GET command which is used to do string operation has been explained.
-
GETRANGE = In this GETRANGE command which is used to do string operation has been explained.
-
GETSET = In this GETSET command which is used to do string operation has been explained.
-
SETBIT & GETBIT = In this SETBIT & GETBIT command which is used to do string operation has been explained.
-
MGET = In this MGET command which is used to do string operation has been explained.
-
SETEX = In this SETEX command which is used to do string operation has been explained.
-
SETNX = In this SETNX command which is used to do string operation has been explained.
-
SETRANGE = In this SETRANGE command which is used to do string operation has been explained.
-
STRLEN = In this STRLEN command which is used to do string operation has been explained.
-
MSET = In this MSET command which is used to do string operation has been explained.
-
MSETNX = In this MSETNX command which is used to do string operation has been explained.
-
PSETEX = In this PSETEX command which is used to do string operation has been explained.
-
INCR = In this INCR command which is used to do string operation has been explained.
-
INCRBY = In this INCRBY command which is used to do string operation has been explained.
-
INCRBYFLOAT = In this INCRBYFLOAT command which is used to do string operation has been explained.
-
DECR = In this DECR command which is used to do string operation has been explained.
-
DECRBY = In this DECRBY command which is used to do string operation has been explained.
-
APPEND = In this APPEND command which is used to do string operation has been explained.
-
HASHES = In this HASH data-type in REDIS has been explained.
-
HMSET & HGETALL = In this HMSET & HGETALL command which is used to do hash operation has been explained.
-
HEXISTS = In this HEXISTS command which is used to do hash operation has been explained.
-
HDEL = In this HDEL command which is used to do hash operation has been explained.
-
HSET & HGET = In this HSET & HGET command which is used to do hash operation has been explained.
-
HKEYS & HVALS = In this HKEYS & HVALS command which is used to do hash operation has been explained.
-
HLEN = In this HLEN command which is used to do hash operation has been explained.
-
HSETNX = In this HSETNX command which is used to do hash operation has been explained.
-
HINCRBY = In this HINCRBY command which is used to do hash operation has been explained.
-
HINCRBYFLOAT = In this HINCRBYFLOAT command which is used to do hash operation has been explained.
-
LIST = In this LIST Data-type in REDIS has been explained.
-
LPUSH & LRANGE = In this LPUSH & LRANGE command which is used to do list operation has been explained.
-
RPUSH & LRANGE = In this RPUSH & LRANGE command which is used to do list operation has been explained.
-
BLPOP = In this BLPOP command which is used to do list operation has been explained.
-
BRPOP = In this BRPOP command which is used to do list operation has been explained.
-
LINDEX = In this LINDEX command which is used to do list operation has been explained.
-
LINSERT = In this LINSERT command which is used to do list operation has been explained.
-
LLEN = In this LLEN command which is used to do list operation has been explained.
-
LPUSHX = In this LPUSHX command which is used to do list operation has been explained.
-
RPUSHX = In this RPUSHX command which is used to do list operation has been explained.
-
LREM = In this LREM command which is used to do list operation has been explained.
-
LSET = In this LSET command which is used to do list operation has been explained.
-
LTRIM = In this LTRIM command which is used to do list operation has been explained.
-
RPOP = In this RPOP command which is used to do list operation has been explained.
-
RPOPLPUSH = In this RPOPLPUSH command which is used to do list operation has been explained.
-
SETS = In this SET data-type has been explained.
-
SADD & SMEMBERS = In this SADD & SMEMBERS command which is used to do set operation has been explained.
-
SCARD = In this SCARD command which is used to do set operation has been explained.
-
SDIFF & SDIFFSTORE = In this SDIFF & SDIFFSTORE command which is used to do set operation has been explained.
-
SINTER & SINTERSTORE = In this SINTER & SINTERSTORE command which is used to do set operation has been explained.
-
SUNION & SUNIONSTORE = In this SUNION & SUNIONSTORE command which is used to do set operation has been explained.
-
SISMEMBER = In this SISMEMBER command which is used to do set operation has been explained.
-
SMOVE = In this SMOVE command which is used to do set operation has been explained.
-
SRANDMEMBER = In this SRANDMEMBER command which is used to do set operation has been explained.
-
SREM = In this SREM command which is used to do set operation has been explained.
-
SSCAN = In this SSCAN command which is used to do set operation has been explained.
-
SORTED SET = In this SORTED SET data-type in redis has been explained.
-
ZADD & ZRANGE = In this ZADD & ZRANGE command which is used to do sorted set operation has been explained.
-
ZCARD = In this ZCARD command which is used to do sorted set operation has been explained.
-
ZCOUNT = In this ZCOUNT command which is used to do sorted set operation has been explained.
-
ZRANGE WITHSCORES = In this ZRANGE WITHSCORES command which is used to do sorted set operation has been explained.
-
ZLEXCOUNT = In this ZLEXCOUNT command which is used to do sorted set operation has been explained.
-
ZRANGEBYLEX = In this ZRANGEBYLEX command which is used to do sorted set operation has been explained.
-
ZRANGEBYSCORE = In this ZRANGEBYSCORE command which is used to do sorted set operation has been explained.
-
ZRANK = In this ZRANK command which is used to do sorted set operation has been explained.
-
ZINCRBY = In this ZINCRBY command which is used to do sorted set operation has been explained.
-
ZREM = In this ZREM command which is used to do sorted set operation has been explained.
-
ZREMRANGEBYLEX = In this ZREMRANGEBYLEX command which is used to do sorted set operation has been explained.
-
ZREMRANGEBYRANK = In this ZREMRANGEBYRANK command which is used to do sorted set operation has been explained.
-
ZREMRANGEBYSCORE = In this ZREMRANGEBYSCORE command which is used to do sorted set operation has been explained.
-
ZREVRANGE = In this ZREVRANGE command which is used to do sorted set operation has been explained.
-
ZREVRANGEBYSCORE = In this ZREVRANGEBYSCORE command which is used to do sorted set operation has been explained.
-
ZREVRANK = In this ZREVRANK command which is used to do sorted set operation has been explained.
-
ZSCORE = In this ZSCORE command which is used to do sorted set operation has been explained.
-
ZUNIONSTORE = In this ZUNIONSTORE command which is used to do sorted set operation has been explained.
-
ZINTERSTORE = In this ZINTERSTORE command which is used to do sorted set operation has been explained.
-
HYPERLOGLOG = In this HYPERLOGLOG in REDIS has been explained.
-
PFADD & PFCOUNT = In this PFADD & PFCOUNT command which is used to do HYPERLOGLOG operation has been explained.
-
PFMERGE = In this PFMERGE command which is used to do HYPERLOGLOG operation has been explained.
-
PUBLISH & SUBSCRIBE = In this PUBLISH & SUBSCRIBE in REDIS has been explained.
-
TRANSACTION = In this TRANSACTION in REDIS has been explained.
-
MULTI & EXEC = In this MULTI & EXEC command which is used to do TRANSACTION in REDIS has been explained.
-
MULTI & DISCARD = In this MULTI & DISCARD command which is used to do TRANSACTION in REDIS has been explained.
-
WATCH & UNWATCH = In this WATCH & UNWATCH command which is used to do TRANSACTION in REDIS has been explained.
-
SCRIPTING = In this SCRIPTING in REDIS has been explained.
-
EVAL = In this EVAL command which is used to do SCRIPTING in REDIS has been explained.
-
SCRIPT LOAD = In this SCRIPT LOAD command which is used to do SCRIPTING in REDIS has been explained.
-
SCRIPT EXISTS = In this SCRIPT EXISTS command which is used to do SCRIPTING in REDIS has been explained.
-
SCRIPT FLUSH = In this SCRIPT FLUSH command which is used to do SCRIPTING in REDIS has been explained.
-
STRING.py = REDIS datatype STRING operations have implemented using python program.
-
STRING.pdf = Source code and output has been attached.
-
LIST.py = REDIS datatype LIST operations have implemented using python program.
-
LIST.pdf = Source code and output has been attached.
-
HASH.py = REDIS datatype HASH operations have implemented using python program.
-
HASH.pdf = Source code and output has been attached.
-
SET.py = REDIS datatype SET operations have implemented using python program.
-
SET.pdf = Source code and output has been attached.
THANKS A LOT FOR READING.
IF YOU HAVE ANY QUERIES OR SUGGESTIONS, PLEASE MAIL ME @ "ajayajutheaj@gmail.com". 8) SET.pdf = Source code and output has been attached.