Beginners

Setting up Redis Clustering

Create Redis Configuration File with below directive for each node: port 7000 cluster-enabled yes cluster-config-file nodes.conf cluster-node-timeout 5000 appendonly yes Move each configuration file to it’s folder: mkdir 700{1..6} Run redis-cli –cluster create command redis-cli –cluster create 127.0.0.1:7001 127.0.0.1:7002 127.0.0.1:7003 127.0.0.1:7004 127.0.0.1:7005 127.0.0.1:7006 –cluster-replicas 1

Redis Sets Datatype and Commands

Redis SADD – Creating and Adding Members to Redis Sets. sadd users_ip 10.0.0.1 sadd users_ip 10.0.0.2 10.0.0.3 192.168.0 Redis SCARD – Checking total numbers of members available in a list also known as checking cardinality. scard users_ip Redis SMEMBERS – Checking Total Numbers of Members in a set: smembers users_ip Redis SDIFF – Checking Members …

Redis Sets Datatype and Commands Read More »

Installing Redis on Linux Using a Package Manager

Before we begin, It is worth mentioning that this will only work if you’ve internet running on your Unix/Linux Server. Read this blog to know how to install Redis in offline mode. Redis package is not included in the default CentOS repositories. So we need to start by configuring REMI Repository. Run below commands to …

Installing Redis on Linux Using a Package Manager Read More »

Redis – Beginners to Advance – Deep Dive

Getting Started With Redis Redis is currently World’s fastest and most Loved Database. Redis has more than 1 Billion downloads on Docker. It is the first database to reach this milestone. Redis is an Open Source (BSD Licensed) Database. Redis is an In-Memory Database Redis Supports various data structures such as strings, hashes, lists, sets, …

Redis – Beginners to Advance – Deep Dive Read More »