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?

CodingAir cloud service development platform use help
CodingAir cloud service development platform use help

What is the CodingAir cloud service development platform? If you only allow you to write a java function to implement an http interface with certain business logic and complexity, can you do that? Have you always felt that it is a nightmare to write an interface document after writing the logic implementation? Because the interface documentation and code implementation you write are separate! In this case, writing the interface file is really redundant!

Non-intrusive dynamic routing database under microservices
Non-intrusive dynamic routing database under microservices

How to non-intrusive database routing by key? Here's "no intrusion" involves two difficulties: 1. How can I not pass the appkey when the web is tuned to the service but bring the appkey to the service? 2. Assuming the first point is ok, how can the service side execute sql on the specified library without displaying the changed data source?

mDNS protocol application scenario research summary
mDNS protocol application scenario research summary

mDNS multicast DNS, using port 5353, multicast address 224.0.0.251. In a small network without a regular DNS server, mDNS can be used to implement DNS-like programming interfaces, packet formats, and operational semantics. The MDNS protocol packet has the same message structure as the DNS packet, but some fields have new meanings for MDNS.