redis - common advanced commands keys,scan,Info

1, Full traversal keys 1) Explain It is used to list all key s that meet specific regular string rules. When the amount of redis data is large, the performance is poor. It should be avoided. Popular understanding: if there are few key values, you can directly use keys to obtain all data; After keys, you can use wildcard query. However, keys s ...

Added by Anarking on Wed, 17 Nov 2021 00:55:04 +0200

redis learning notes (detailed) - Advanced

redis learning notes (detailed) - Beginner Level redis learning notes (detailed) - Advanced Introduction to redis configuration file Configuration programming in linux Environment The Redis configuration file is located in the Redis installation directory. The file name is redis.conf. Generally, a separate copy will be made for operat ...

Added by bben95 on Thu, 11 Nov 2021 05:04:46 +0200

Redis has five data types

preface The advantages of Redis database over other non relational databases mainly lie in its rich data types, supporting key value, hashes, strings, sets (ordered, unordered), list and other data types 1, String data type String is the most basic type of redis. It can store up to 512MB of data String type is binary safe, that is, ...

Added by excessnet on Thu, 11 Nov 2021 00:37:23 +0200

Current limiting scheme of PHP+laravel high parallel downlink interface

1, What is interface current limiting So what is current limiting? As the name suggests, current limiting is to limit traffic, including concurrent traffic and total traffic within a certain period of time. Just like your broadband package has 1 G of traffic, it will disappear when it is used up, so control your use frequency and the total cons ...

Added by andycole on Wed, 10 Nov 2021 11:35:02 +0200

Collect beautiful pictures of the site with the scan redis distributed framework, proxy server and random UA technology

Share some previous projects and accumulate some project experience We talked about how to configure the scratch redis earlier. This time, we'll do a collection example The website is the other shore map network: https://pic.netbian.com/4kmeinv/ analysis Collect all the pictures under the above link classification, analyze the website is 148 ...

Added by nickk on Mon, 08 Nov 2021 21:31:12 +0200

Learning log (November 8, 2021) (1. Springboot integrates Junit, Mybatis, Redis and thymeleaf)

Learning content: learn SpringBoot (Day67) 1. Spring boot integrates Junit 2. Spring boot integrates Mybatis 3. Spring boot integrates Redis 4. Spring boot integrates thymeleaf 1. Spring boot integrates Junit (1) The new version integrates Junit5 by default <!--introduce test Scene launcher for--> <dependency> <groupId&gt ...

Added by suzzane2020 on Mon, 08 Nov 2021 17:16:35 +0200

Redis source code analysis dictionary dict

summary The dict dictionary in Redis can be understood as a hash linked list of an upgraded version of the mapping relationship between key and value. The emergence of dict dictionary is to solve the search problem in the algorithm. In the actual development, the search mainly makes two structures: the tree using Map structure and hash table. ...

Added by Pro Ninja on Mon, 08 Nov 2021 10:43:28 +0200

Second kill system learning notes, limited time rush purchase, and the rush purchase interface is hidden

Implementation of limited time rush purchase Use Redis to record the time of second kill goods and reject requests that have expired! Put the second kill goods into Redis and set the expiration time Use String type to set a certain expiration time in the form of kill + commodity id as key and commodity id as value (180 seconds here) Introdu ...

Added by Iasonic on Fri, 05 Nov 2021 22:38:15 +0200

Database Mysql optimization and Redis distributed optimization of interview questions

Welcome to personal blog http://www.jkraise.top This case project is based on MySQL and Redis in the dark horse headlines Database optimization 1. Slicing2. Vertical split3. Horizontal split Slice effect Sharding is also called data sharing. Its main work is to split a single database and a single table. Multiple databases and tables toge ...

Added by mattgleeson on Tue, 02 Nov 2021 01:34:34 +0200

Sentinel mode of Redis cluster scheme (high availability) (one master, two slave and three sentinels)

Sentinel mode of Redis cluster scheme (high availability) (one master, two slave and three sentinels) Linux: conts7 Redis edition: 5.0.14 Link to the download page on the official website: https://redis.io/download Third party Redis Recommended connection tools: RedisDesktopManager Download from the official website: https://redisdes ...

Added by testtesttesttest on Thu, 28 Oct 2021 16:07:39 +0300