simontabor / qp Goto Github PK
View Code? Open in Web Editor NEWEfficient queue manager/processor in node.js
License: MIT License
Efficient queue manager/processor in node.js
License: MIT License
Although license is in package.json, there's no LICENSE file.
Redis pub/sub doesnt care what database you select, so they should be namespaced by database or some other way
When using QP with a redis cluster, job data is sometimes undefined when a job is pulled off the queue and given to a worker.
This could be due to job data and job list residing on different redis instances, so that if your consumer is receiving jobs as quickly as possible after they are queued, the job data might not have finished saving to the other redis instance before the job is given to the worker.
A workaround for this is to use key tags around your queue name e.g. {queueName}
so that all QP keys are allocated to a single redis node.
console.log('hi') doesn't count ;)
On high load queues, the server goes a bit crazy processing and emitting all of the messages. Should have a max message rate, after which it broadcasts data every 250ms or something.
Should be scoped per new QP()
so qp.redisClient
works as expected when using two different QP instances in the same process
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.