Kue基于 Redis 的优先级队列
Kue 是一款为 node.js 而构建,由 redis 支持的优先级队列。
更新记录:
运行系统环境要求:
Redis >= 2.6.12
安装
-
Latest release:
$ npm install kue
-
Master branch:
$ npm install http://github.com/Automattic/kue/tarball/master
特性:
Delayed jobs
Distribution of parallel work load
Job event and progress pubsub
Job TTL
Optional retries with backoff
Graceful workers shutdown
Full-text search capabilities
RESTful JSON API
Rich integrated UI
Infinite scrolling
UI progress indication
Job specific logging
Powered by Redis
示例代码:
queue.create('email', { title: 'welcome email for tj' , to: 'tj@learnboost.com' , template: 'welcome-email' }).priority('high').save()
评论
Fastrq基于 Redis 的队列和堆栈
基于redis的队列、双向队列、优先队列和堆栈,以及众多增强版本支持定长。向满队列PUSH会失败,向容量不足的队列PUSH同样会失败。支持可溢出。定长队列长度超过容量限制,元素会从另一端溢出。PUSH
Fastrq基于 Redis 的队列和堆栈
0
httprique优先级队列服务
httprique是一个基于平衡二叉树的优先队列服务,包含有入队列、出队列、查询(依据位置查询节点信息、根据节点信息查询节点位置)、查看队列状态和队列持久化至磁盘功能。
httprique优先级队列服务
0
SwiftPriorityQueue优先级队列数据结构
SwiftPriorityQueue 用 Swift 实现了一个通用优先级队列数据结构,适合在 iO
SwiftPriorityQueue优先级队列数据结构
0
SwiftPriorityQueue优先级队列数据结构
SwiftPriorityQueue用Swift实现了一个通用优先级队列数据结构,适合在iOS和OSX项目中,它有一个直观的界面。它利用元素之间的比较,而不是独立数字的优先级来确定顺序。
SwiftPriorityQueue优先级队列数据结构
0