微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

Kue 基于 Redis 的优先级队列

程序名称:Kue

授权协议: MIT

操作系统: 跨平台

开发语言: JavaScript

Kue 介绍

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: '[email protected]'
  , template: 'welcome-email'
}).priority('high').save()

Kue 官网

https://github.com/Automattic/kue

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。

相关推荐