redis -- data type, application scenario and command line operation

1, Connect Start service ./redis-server redis.conf connect ./redis-cli -h 127.0.0.1 -p 6379 perhaps ./redis-cli 2, Redis data types and application scenarios Redis is a key value storage system written in ANSI C language. Note: in Redis, the command ignores case, (set), and the key does not ignore case (name) 2.1 Key design ...

Added by Alka-Seltxer on Mon, 24 Jan 2022 17:39:16 +0200

Redis quick start, an introduction to the system, learn to get a raise

1. Explanation of NoSQL (non relational database) Why use Nosql Big data age - > springboot + springcloud The beautiful era of stand-alone Mysql! In the 1990s, the number of visits to basic websites was small, and only a single database was enough. Bottleneck of the whole website: 1. If the amount of data is too large, one m ...

Added by begeiste on Mon, 24 Jan 2022 04:25:28 +0200

redis cluster summary and sentry explanation

redis cluster summary and sentry explanation Why cluster 1. A single redis is unstable. When the redis service goes down, there are no available services. 2. The reading and writing ability of a single redis is limited redis master-slave replication There is only one Master node, and there can be multiple Slave nodes As long as the ne ...

Added by billkom on Sun, 23 Jan 2022 21:52:22 +0200

Redis quick start and Application

1, Redis overview Redis is an open source high-performance memory based key value pair NoSQL database developed in C language. Compared with the relational database that must be stored according to the specified format, the data format of non relational database is more flexible, which is usually used to check the storage of large-scale da ...

Added by private_click on Sun, 23 Jan 2022 21:27:38 +0200

[introduction and advanced Redis] basic operations of Nosql and Redis

1 Nosql overview 1.1 why use Nosql 1.1.1 the age of single machine MySQL! In the 1990s, the number of visits to a basic website is generally not too large, and a single database is completely enough! At that time, more use of static web ~ servers didn't have much pressure at all! In this case: what is the bottleneck of the whole website ...

Added by jeff_lawik on Sat, 22 Jan 2022 13:18:42 +0200

Enterprise operation and maintenance - Codis deployment

catalogue 1, Introduction 2, Install and deploy go and codis 1. Download 2. Deploy go 3. codis environment installation and deployment 4. codis start (1) Start CODIS dashboard (2) Start CODIS proxy (3) Start CODIS server (4) Start CODIS Fe 3, Add group through fe 4, Initialize slot through fe 5, Cluster configuration 1. Add two Re ...

Added by ataylor20 on Fri, 21 Jan 2022 15:51:56 +0200

Implementation of several locks in redis

1. redis lock classification The locking commands that redis can use are INCR, SETNX and SET 2. The first lock command INCR The idea of locking is that if the key does not exist, the value of the key will be initialized to 0 first, and then the INCR operation will be performed to add one.   Then, other users add one hour when executing t ...

Added by wardmaestro on Thu, 20 Jan 2022 01:13:36 +0200

Redis 32: actual combat: redis cluster mode

In the last article, we talked about the construction of Redis cluster and the dynamic addition and deletion of nodes. Here we will briefly review. 30001 ~ 30006 are the clusters we built initially, and 30007 and 30008 are the master-slave nodes dynamically added later. We use the -- cluster info command to see the allocation of master nodes an ...

Added by snowman2344 on Thu, 20 Jan 2022 00:30:42 +0200

The third stage of Python learning redis day03

redis_day02 review Five data types and application scenarios typecharacteristicUsage scenariostringSimple key value type. Value can be string and numberRegular counting (microblog number, fan number and other functions)hashhash is a mapping table of string type field and value. hash is especially suitable for storing objectsStore some data th ...

Added by unknown1 on Wed, 19 Jan 2022 23:07:24 +0200

The story of love between sperm cells and egg cells -- a detailed explanation of Redis distributed lock (illustrated, hand-in-hand building service, detailed code explanation, recommended Collection)

This article involves many related articles. Please take it yourself if necessary (follow the blogger, let's go to big factory happy) VMware installation of CentOS (nanny tutorial, recommended Collection) VMware+CentOS 7 static IP setting method - Nanny level tutorial, recommended collection CentOS 7 turn off firewall CentOS installation ...

Added by kidestranged on Wed, 19 Jan 2022 11:21:18 +0200