alaska-queue-array

0.13.2 • Public • Published

Alaska array queue driver

Configure

queue: {
  type: 'alaska-queue-array',
  key: 'myQueue',
  idle: 5, // idle drivers count
}

Warning

This driver just for development environment.

You should use alaska-queue-redis or other driver instead, in production environment.

Because :

  1. The queued data can not shared with multi node process.

  2. The queued data will lost when node exited or crashed.

  3. This driver may cause memory leak.

  4. The pop(timeout) function is not timely.

Contribute

Maichong Software

Liang Xingchen

License

This project is licensed under the terms of the MIT license

Readme

Keywords

Package Sidebar

Install

npm i alaska-queue-array

Weekly Downloads

0

Version

0.13.2

License

MIT

Unpacked Size

2.84 kB

Total Files

3

Last publish

Collaborators

  • liangxingchen