redis entry to give up - 2

8. Spring boot integrates redis Import dependency <!--redis rely on--> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-redis</artifactId> <!-- <version>2.1.6.RELEASE</version>--> </dependen ...

Posted by ForgotMyPass on Tue, 04 Jan 2022 06:41:51 +0100

Install redis, nacos, tomcat, JDK and nginx under Linux, and deploy the front-end and back-end separated project running environment

This paper mainly records how to build a system running environment under Linux environment, mainly using redis, nacos, tomcat, JDK and nginx Tip: the following is the main content of this article. The following cases can be used for reference preface Download the compressed package first Link: https://pan.baidu.com/s/1a3y3sKzP0fTddD ...

Posted by mepaco on Tue, 04 Jan 2022 03:30:25 +0100

[Redis series 3] how to implement distributed locks with Redis

Redis is used to implement a distributed lock, which is based on Go language. preface The previous articles are all theoretical knowledge. They are a little too much. They suddenly want to write some practical content. Just recently, the company is doing asynchronous task migration and uses distributed lock and task fragmentation. Ther ...

Posted by garethhall on Mon, 03 Jan 2022 20:44:08 +0100

Implementation of delay queue based on Redis

Theoretical introduction First, the map is used to illustrate how redis implements the delay queue When the user sends a message request to the server background, the server will detect whether the message needs delay processing. If necessary, it will be put into the delay queue and detected and processed by the delay task detector. For t ...

Posted by mizkie on Mon, 03 Jan 2022 14:05:10 +0100

Major manufacturers are using EhCache. Where is it better than Redis?

With the decline of hardware price, people rely more and more on hardware. I even heard that the code is not important. If not, add machines. For example, the use of cache is usually based on virtual machine memory, disk storage and Middleware (Redis memory). We all know that the most suitable is the best, but in practice, it is often directl ...

Posted by Vettel on Mon, 03 Jan 2022 13:48:51 +0100

Redis most complete information

Is Redis single threaded and high-performance Redis single threaded? The single thread of Redis mainly means that the network IO and key value pair reading and writing of Redis are completed by one thread, which is also the main process of Redis providing external key value storage services. However, other Redis functions, such as persistenc ...

Posted by activomate on Mon, 03 Jan 2022 11:36:52 +0100

Large file upload second transmission breakpoint continuous transmission fragment upload

preface File upload is an old topic. When the file is relatively small, you can directly convert the file into a byte stream and upload it to the server. However, when the file is relatively large, it is not a good way to upload it in an ordinary way. After all, few people will tolerate it. When the file is uploaded to half of the interrupt, I ...

Posted by SaMike on Mon, 03 Jan 2022 07:43:56 +0100

Redis beginner's notes

preface: Learn some notes on Redis by yourself 📒 Write it down, and it's convenient for you to look through it Course link: https://coding.imooc.com/class/151.html Book recommendation: Redis development and operation and maintenance First article: https://sleepymonster.cn Here is just an introduction or a search ~ For a specific ...

Posted by bb_sarkar on Mon, 03 Jan 2022 05:17:45 +0100

[3. Advanced redis features]

Redis advanced features Slow query Many storage systems (such as MySQL) provide slow query logs to help developers and operation and maintenance personnel locate the slow operation of the system. The so-called slow query log is that the system calculates the execution time of each command before and after the command is executed. When it exce ...

Posted by Russia on Sun, 02 Jan 2022 15:22:13 +0100

Simple use of CSRedis

Install CSRedis Search and install directly using the Nuget package manager in Visual Studio Before starting Create a redis instance using the connection string and execute redishelper Initialization(). var csredis = new CSRedisClient("127.0.0.1:6379,password=YourPassword"); RedisHelper.Initialization(csredis); If you don't set a passwo ...

Posted by catgurl_ashley on Sun, 02 Jan 2022 09:38:07 +0100