Redis memory analysis
Redis memory analysis

Recently discovered that the `redis` memory used in the project is very expensive (but I thought that there is not so much memory consumption for the key?), use the `info` command to see some memory size and key occupied by all keys. The number and so on, as shown below (only screenshots of memory ..

Practice: Realize BloomFilter quickly with Redis!
Practice: Realize BloomFilter quickly with Redis!

A similar need in recent work is: There are about 300 million data dictionaries in a csv file A as a data source. For any word M entered by the user, it is necessary to quickly match whether the M word exists in A. (A file is about 3G in size, the total number of lines is 300 million). Get this demand. What is your first thought?