摘要:
redis作者@antirez在其blogHow to take advantage of Redis just adding it to your stack中提到:“Similarly using sorted sets it is possible to implement priority queues easily.”。本文将会探讨下如何使用redis提供的sorted sets数据结构,构造高效率的优先级队列。什么是sorted sets以下段落来自reids.io->Data types。Redis Sorted Sets are, similarly to Redis S 阅读全文