Comparison of four distributed architectures for high concurrency and massive distributed storage
First of all, redis uses decentralized design and this understanding is not in place. Redis distributed mode, with master-slave and cluster two, redis community cluster scheme Redis Cluster is a decentralized design. Let's take a look at the evolution of Redis:
Technology of dry goods | under high load pressure measuring interface location screen - Redis abnormal problem
Interface processing logic: obtain nationwide regional information. Obtain information from mysql for the first time. After obtaining information, hset to Redis.
Another high-risk database vulnerability is exposed, how to effectively protect data security?
Abstract: On July 22, 2021, the Official Redis and the open source Redis community have released an announcement, disclosed the CVE-2021-32761 Redis (32-bit) remote code execution vulnerability. So how do you nip in the bud for such database security holes?
Redis Cache Penetration, Cache Breakdown, Cache Avalanche Causes + Solutions
One, the preface in the development of our daily, they are using the database for data storage, as a result of the general system task in high concurrency usually doesn't exist, so it looks like there is no problem, but when it comes to the demand of the large amount of data, such as some snapping up the goods, or the home page views moment is larger, A system that uses only a database to store data can be disk-oriented and slow to read/write...
Redis4 - Client connection information
TCP - KeepAlive Default 300MaxClients Maximum number of client connections Default 100002: info clients {code... } Name Meaning connected_Clients Number of connected clients client_longest_output_List List of the longest output of connected clients Client_longest_input_buf Number of connected clients when...
The difference between Redis and MongDB and Memcache
Recently I am preparing for an interview, and I will summarize what I have seen. Redis supports set liset and other data types. Memcache supports simple data types. 2, persistent Redis support data fall persistent storage Memcache does not support data persistent storage 3, distributed storage Redis support master-slave replication mode Memcache can use consistent...
Redis advanced data types Hyperloglog, Bitmap quickly take you to get started!!
Probably most of the answers are string, hash, list, set, zset. Of course, there's no mistake about this answer, but believe it and your interviewer will probably hear it.
How to find Redis BigKey quickly? Four schemes will be given to you at one time!
This article will take Redis Bigkey as the theme for technical development. Through understanding the high performance of Redis, the harm of Bigkey, the reasons for its existence, four solutions, and the introduction of practical simulation, we will understand, discuss and learn Redis together.
Java from scratch handwritten Redis (five) expiration strategy of another way of thinking
Redis (a) how to achieve a fixed size cache? How does Java reboot its memory data without losing it? In addition to the expire principle, there is an additional way in which Redis will be implemented in the expire principle. In addition to the expire principle, there is an additional way in which Redis will be implemented. Write it down here so you can...
The implementation of handwritten Redis (IV) listener from scratch
In this section, let's learn how to implement a removeListener for removing listeners like the Guava-Cache and a slowListener for monitoring slow logs like the Redis SlowListener.