Most mobile APP s will have function modules to do tasks and receive rewards. The purpose of this kind of demand is to cultivate user usage habits, improve user activity, get credit reward for completing tasks, exchange goods or charge charges through credit, WeChat and so on.
Draw up a requirement scenario (Fig.), outline: Add a sm ...
Posted on Mon, 06 Apr 2020 09:35:06 -0700 by Chef-Mars
1. Redis installation configuration
a. Download address: Redis Download
b. In the folder saving location, open a cmd window, use the cd command to switch the directory to I:\Software\Redis-x64-3.2.100, run redis-server.exe redis.windows.conf
c. Another cmd window is opened. Do not close it, or you wi ...
Posted on Sun, 05 Apr 2020 17:04:01 -0700 by Smeep
Step 1, Download
Download with wget command
Step 2: install and compile
Then enter the redis path and use the
When compiling, some errors may occur, such as:
cd src && make all
make: Entering directory /u ...
Posted on Sat, 04 Apr 2020 09:38:34 -0700 by JJ123
I found a piece about redis distributed lock implementation Someone replied -- I glanced at the article at will at that time. In order to prevent deadlock, the idea is to use setnx to set value to local time, and then read value for time comparison when getting lock failure.. Then I replied.. Multiple application servers have time synchronizati ...
Posted on Wed, 01 Apr 2020 17:35:36 -0700 by miked2
The application side needs to generate the sequential increasing sequence to make the pipeline sequence number. The schemes are as follows: 1. redis /MySQL SEQUENCE engine generates the sequence; 2. Mysam table replace into mode in MySQL; 3. innodb table insert... On duplicate key mode ...
Posted on Wed, 01 Apr 2020 09:08:18 -0700 by anybody99
Hi nginx manages sessions through redis.
Three things need to be done to start management.
First open userid:
This function is built in nginx and can ...
Posted on Tue, 31 Mar 2020 17:10:29 -0700 by Avi
This article uses Redis to achieve the article's likes, and arranges from the number of likes to the low.
The implementation language is JAVA, so the package to be used is jedis.
Function realization analysis.
Redis has five data type ...
Posted on Tue, 31 Mar 2020 11:57:37 -0700 by Rai_de
Working principle analysis
Automatic configuration takes effect
Working principle analysis
The Spring Boot source code for automatic configuration is in Spring Boot autoconfigure-x.x.x.x.jar:
There is a @ SpringBootApplication annotation on the Spring Boot startup class, which is an indispensable annotation for the Spring Boot projec ...
Posted on Thu, 26 Mar 2020 04:54:40 -0700 by FD_F
This article is intended to locally simulate the process of building a redis server cluster.
What is the role of a Redis cluster?
Before experimenting with deployment, we need to understand why we need to set up a Redis cluster and what problems did it solve?What are the advantages?We can explore this issue from a single Redis server. ...
Posted on Tue, 24 Mar 2020 09:57:31 -0700 by jlh3590
JWT is a stateless way. User's data can be directly parsed in token to get user's data. There are two problems in stateless: 1. Lease renewal, 2. Exit. There is no good solution to these two problems. If it is a common web project, JWT is not recommended
Replace the default token with JWT
(the default token is generated b ...
Posted on Sun, 22 Mar 2020 09:58:59 -0700 by pmt2k