Misuse of Redis cache String
In our daily development, if Redis is used as the cache, the most used may be the String type. The String type is simple and easy to understand, but this is only the development aspect. If the amount of business data is too large, whether the feasibility of using String type storage is still the highest, we can rel ...
Posted by TheAngst on Fri, 22 Apr 2022 10:12:33 +0300
1. Introduction to redis version features
Six redis are installed here. The configuration is as follows: Tips (Redis6.0.5):
If you need to install stand-alone version, you need to install the specified plug-in
yum -y install gcc gcc-c++ libstdc++-devel
yum -y install centos-release-scl devtoolset-7
yum -y install devtoolse ...
LRU algorithm is actually called the longest unused algorithm recently. It often appears in the written test questions of the interview. It is more likely to make you tear the LRU algorithm with your hand during the interview. If you don't understand the truth, it's really hard work. There's no way. So today, let's summarize the LRU al ...
Posted by Mastodont on Wed, 20 Apr 2022 11:52:17 +0300
Reprinted from: https://blog.csdn.net/XinhuaShuDiao/article/details/84906382
1,leftPush(K key, V value)
Add the element value to the left of the variable.
2,index(K key, long index)
Gets the val ...
Posted by spelman07 on Tue, 19 Apr 2022 07:54:14 +0300
Reference article: Single sign on: https://mp.weixin.qq.com/s/DGFFPl93kZxS5G_DSFTBDA Multi terminal login: https://blog.csdn.net/zhourenfei17/article/details/88826911
A recent springboot project called for adding some app functions. Then the first thing to change is the login function. My original login was just web login, which r ...
Posted by killswitchfilter on Tue, 19 Apr 2022 05:13:45 +0300
1, Use tools
Back end development tool: IntelliJ IDEA 2020.3Front end development tool: Microsoft VS Code 1.50.1Database tool: Navicat Premium 15.0.20Redis visualization tool: RDM
2, Create Maven project
Because the project includes multiple parts such as user, account and dictionary, and each part establishes modules respectively, the outer ...
Posted by RoBoTTo on Mon, 18 Apr 2022 01:37:27 +0300
Crazy God said Redis learning summary
① Introduction to redis
I Description of Redis
1. What is redis?
Remote Dictionary Server remote service dictionary is an open source log type, key value database written in ANSI C language and supporting network. It can be based on memory or persistent.
2. What can redis do?
Memory storage, persi ...
Posted by corillo181 on Sun, 17 Apr 2022 17:50:35 +0300
Production and consumption of dyno queues distributed delay queue
In this series, we will focus on the key modules considered in the design of distributed delay queue, intersperse some characteristics and implementation methods of message queue, and take a specific look at the aspects of designing and implementing a distribut ...
Posted by metallord on Sun, 17 Apr 2022 06:34:37 +0300
Catalog Spring Cloud Alibaba microservice series articles
0. Spring Cloud Alibaba micro service series - preparations1. Spring Cloud Alibaba micro service series - service registry Nacos2. Spring Cloud Alibaba micro service series - configuration center Nacos3. Spring Cloud Alibaba micro service series ...
Posted by Integra_grrl on Sun, 17 Apr 2022 06:10:23 +0300
In some cases, some user requests may be sent repeatedly. If it is a query operation, it will not be a big problem, but some of them involve write operations. Once repeated, it may lead to serious consequences. For example, the transaction interface may place repeated orders if repeated requests.
Repeated scenarios may be:
The hacker inter ...
Posted by pp4sale on Sun, 17 Apr 2022 01:11:51 +0300