Distributed Redis delayed tasks based on the SpringBoot example
Distributed Redis delayed task based on springboot example is to specify a time to perform tasks agreed in advance, such as scheduled order cancellation, scheduled goods removal, scheduled activities, etc.
Docker compose is used for primary/secondary replication
Due to Redis' single point of performance and our innate need to back up data, Redis provides a master-slave replication service.
Redis pipeline
Redis Pipelining: The client can send multiple requests to the server without waiting for a response, which can be read in just one step. Round Trip Time (RTT): indicates the Round Trip Time. Redis is a TCP server using client-server model and Request/Response protocol. This means that...
Advanced Redis application advanced class one-stop Redis solution
Advanced Redis application advanced class one-stop Redis solution
Redis set Key/value rules and notes
The previous article explained how to define Redis client and Dubbo integrated storage; When we start developing, we suddenly find that we don't know how to define Redis Key and Value formats. Don't worry, we will understand how to define and use Redis Key and Value formats soon. In regular Java development, we need to have object-oriented...
01. Introduction to Redis data structure
ZSET, like HASH, is used to store key-value pairs. The keys of a ZSET are called members, and each member is different; A value is called a score, and the score must be a floating point number. ZSET is the only Redis that can access elements by members and by points and the order in which they are arranged. Slow...
Redis guide (1) : prequel | why no time to choose
Before formally learning Redis, we need to ask ourselves a question, NoSQL how it developed? Why do we use it? What is the development course of Internet database?
List based on Redis realizes ack function of message
Since the pop of the list is sent directly to the server, redis will delete the data from the server during this process, so when the pop message comes out, the message is essentially deleted from the server. So there is no guarantee that a message has been consumed. Redis uses commands to manipulate data. So the process...
Microservice configuration Redis multi-data source
This is the 7th day of my participation in the November Text challenge. For details, see: the last text challenge 'Springboot' in 2021 integrates multiple data sources with 'Redis'
AOF of Redis persistence
AOF AppendOnly File (AppendOnly File) provides a persistent solution to record Redis operations. The operations that occur in Redis are faithfully recorded in files generated by THE AOF. In this way, data status can be restored after the Redis server restarts or goes down. The main role of AOF is to solve the real-time data persistence...