Skip to content

maichong/alaska-queue-array

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Alaska array queue driver

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published