Learning website

Time:2022-4-20

http://www.manbu.net/Lib/Class1/Sub11/index.asp

Recommended Today

3. How to design the check-in system of ten million days?

Suppose there is a million check-in system, which records the user‘s check-in record, signed record 1 and not signed record 0. If we use redis string storage, 1000000 * 365 keys will be saved a year, which will occupy a lot of memory. In order to solve this problem, redis provides a bitmap data structure, […]