当前位置:网站首页>Use of redis
Use of redis
2022-07-26 00:17:00 【qq_ thirty-two million six hundred and sixty-three thousand and】
redis It's a non relational database .
Reasons for fast speed ,
Single thread ,
Memory io
multiple io Fast access of complex hash structure
data type 5 Kind of ,set zset list hash string
redis Simplest use .
For example, and mysql Continuous use .
Query data ,
The first check passed redis No
adopt mysql I'll give you the data you find redis Add one key value
Second check , Yes. , Go directly redis
Delete data
Delete mysql And delete redis
Modifying data
modify mysql And modify redis
Add data
To reset redis.
Use redis It's mainly about getting data quickly , Meet multiple concurrency .
As for how to set up list, You can leave a message , Then reply .
redis download , Follow the steps .
redis adopt pom.xml File configuration .
This is it. redis.
I won't set the expiration time .
Memory avalanche
5000 Data I 4000 Access database , Memory failure .
Memory penetration
Keep performing the same visit , Access through the database , Database crash .
边栏推荐
- After using MQ message oriented middleware, I began to regret
- 通货膨胀之下,后市如何操作?2021-05-14
- Binary tree - 654. Maximum binary tree
- 34 use of sparksql custom functions, architecture and calculation process of sparkstreaming, dstream conversion operation, and processing of sparkstreaming docking Kafka and offset
- 07_ue4进阶_发射火球扣mp值和攻击扣血机制
- Stack and queue - 347. Top k high frequency elements
- How long can this bull market last Answers to questions 2021-05-11
- 一个List到底能存多大的数据呢?
- FreeRTOS个人笔记-互斥量
- @RequestParam,@PathVariable两个注解的区别
猜你喜欢

Backtracking - 77. combination

The bull market is not over yet, and there is still 2021-05-18 in the second half

Leetcode high frequency question 66. add one, give you an array to represent numbers, then add one to return the result

Js理解之路:什么是原型链

Js理解之路:写一个比较完美的组合继承(ES5)

牛市还将继续,拿好手里的币 2021-05-08

Js理解之路:Js常见的6中继承方式

YoloV4-tiny网络结构

letfaw

Module II operation
随机推荐
markdown写作平台
【目录】mqtt、nodejs项目
MySQL——数据库日志
FreeRTOS个人笔记-信号量
Bond network card mode configuration
牛市还将继续,拿好手里的币 2021-05-08
复盘:推荐系统—— 负采样策略
SHIB(柴犬币)一月涨幅数百倍,百倍币需具备哪些核心要素?2021-05-09
STM32 timer
Appium中控件元素封装类梳理
Detailed explanation of kubernetes network plug-ins - calico chapter - Overview
FreeRTOS personal notes - semaphore
Stack and queue - 150. Inverse Polish expression evaluation
Niuke / Luogu - [noip2003 popularization group] stack
京东获取推荐商品列表 API
Binary tree - 226. Flip binary tree
SSM environment integration
34 use of sparksql custom functions, architecture and calculation process of sparkstreaming, dstream conversion operation, and processing of sparkstreaming docking Kafka and offset
NVIDIA可编程推理加速器TensorRT学习笔记(三)——加速推理
C language actual combat guessing game