过去多啦不再A梦2017-04-25 09:04:48
1. Generally choose the character type when storing a single value or json string
2. Use hash when the data has an obvious hierarchical relationship and only a part of it is read at a time. For example, we want to store provinces and cities in China, and only take a subset of units under a certain province or city each time
3. To implement a queue, FIFO can use list
4. Require that the elements in the list are not repeated, or you want to sort them Collections can be used, but not much for personal use
滿天的星座2017-04-25 09:04:48
You can refer to our application in production.
Tuniu Original|Cool practice of wireless center operation and development Redis