When Redis is used, it is easy to encounter problems such as massive data requiring duplicate checking and how to avoid cache penetration. In fact, these problems can be realized through BloomFilter bloom filter
Bloom Filter concept
Bloom filter is a long binary vector and a series of random mapping functions. Bloom filters can be used to r ...
Posted by fahrvergnuugen on Tue, 10 May 2022 21:15:55 +0300
The last article introduced the structure of sds and how to use sds. In this chapter, we will go back to the place of reading io data to see how redis reads data from io and finally converts it into the process of executing commands. This article needs to be familiar with the previous two articles first. Students who haven't read ...
Posted by dustbuster on Tue, 10 May 2022 08:16:03 +0300
Article reprint statement: please attach a link to the original text for reprint
0. Environmental preparation
The following is my local environment:
Set up a redis environment on the local machine or server, and start it successfully! Here I use redis5.x deployed on Aliyun student computer
IDEA2020.x, E ...
Posted by nikes90 on Sat, 07 May 2022 18:42:13 +0300
Detailed business code introduction of jt project
1) Business introduction:
1.1) anonymous access
Users access jt.com via Com enters the JT home page. At this time, it is an anonymous user. If the user visits the shopping cart module or order module, the interceptor will intercept this request and redirect it to the user login page.
Posted by deepermethod on Sat, 07 May 2022 05:08:26 +0300
The content of the notes comes from the video of the up master who is a poor programmer in station B The content of the article is relatively long. If you need a small partner, you can jump to the specified location according to the directory The notes refer to many big guys' articles. Thank you here
1. Basic knowledge
1. Memory based key v ...
Posted by alcoholic1 on Sat, 07 May 2022 05:03:47 +0300
Dock installs Redis (if installed, please skip this step)
1. Pull Redis image (latest version by default)
docker pull redis
If the download is slow, it is recommended to configure alicloud image
View alicloud image: alicloud official website -- > products -- > search container image service -- > management console
Mirror accelerator ...
Posted by asuperstar103 on Fri, 06 May 2022 23:50:35 +0300
How to learn redis?
Learn what redis isHow to use redis, how to operate the data structure in redisTypical applications and operationsRead the redis source code
Redis is the abbreviation of Remote Dictionary Service; it is also a remote dictionary service; Redis is an in-memory database, KV database, data structure database; Red ...
Posted by cryp7 on Thu, 05 May 2022 16:53:18 +0300
In 1970, an elder named bloom studied the problem of judging whether elements in massive elements exist, that is, how much bitmap capacity and how many hash functions are needed. It published a paper and proposed this container as Bloom filter.
First, the essence of Bloom filter is a bit array an ...
Posted by Joe689 on Thu, 05 May 2022 04:12:51 +0300
Evolution of distributed locks
We can go to one place to "occupy the pit" at the same time. If we occupy it, we will execute logic. Otherwise, you must wait until the lock is released. "Zhankeng" can go to redis, database and any place that everyone can access. Wait for the way you can spin.
Posted by jamesm6162 on Wed, 04 May 2022 03:31:36 +0300
Redis cache database foundation
Redis, remote dictionary service.
What can you do?
Data persistence: RDB, OF
High efficiency, cache
Publish subscribe system
Map information analysis
Timer, page views
Diverse data types
Things needed in learning
Redis official website: http ...
Posted by Studio381 on Sun, 01 May 2022 22:29:16 +0300