redis
Bee-Queue
Our great sponsors
redis | Bee-Queue | |
---|---|---|
1 | 6 | |
30 | 3,619 | |
- | 2.0% | |
0.0 | 8.5 | |
over 1 year ago | 3 days ago | |
Dockerfile | JavaScript | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
redis
-
Deploy Rails and Sidekiq to Render.com using YAML
services: - type: web name: myapp-web env: ruby region: frankfurt # or oregon plan: starter numInstances: 1 buildCommand: ./bin/render-build.sh startCommand: REDIS_URL="redis://${REDIS_HOST}" bundle exec puma -C config/puma.rb domains: - example.com # replace with your domain name envVars: - key: DATABASE_URL fromDatabase: name: myapp-db property: connectionString - key: REDIS_HOST fromService: name: myapp-redis type: pserv property: hostport - key: RAILS_MASTER_KEY sync: false - type: worker name: myapp-sidekiq env: ruby region: frankfurt # or oregon plan: starter buildCommand: bundle install && bundle exec rake assets:precompile startCommand: REDIS_URL="redis://${REDIS_HOST}" bundle exec sidekiq -e production envVars: - key: DATABASE_URL fromDatabase: name: myapp-db property: connectionString - key: REDIS_HOST fromService: name: myapp-redis type: pserv property: hostport - key: RAILS_MASTER_KEY sync: false - type: pserv name: myapp-redis env: docker region: frankfurt # or oregon repo: https://github.com/render-examples/redis.git numInstances: 1 disk: name: myapp-redis-data mountPath: /var/lib/redis sizeGB: 1 databases: - name: myapp-db plan: starter region: frankfurt # or oregon
Bee-Queue
-
Node.js backend architecture question
You could use a Redis based job system like https://github.com/bee-queue/bee-queue for maintenance and email. The jobs could be populated by the API service, some cron scripts, and whatever else, while you'd have dedicated worker processes (written in Node.js?) pulling the jobs and running them.
-
Building a task queue, Part 1
The Node.js libraries BullMQ and Bee Queue are also infrastructure and interface. However, you typically have to use their interface.
-
Scaling synchronous microservices
I'm a fan of bee-queue for this when working in Node, but it's just a wrapper around reliable queue patterns in Redis; you might want to investigate how it works (the readme is quite good) for your own use case, or find an equivalent for your environment. The key is it's designed for short tasks (seconds long, not minutes or hours), and you can receive a result back from the task unlike some fire-and-forget queueing solutions.
-
[Question] API routes and worker_threads
I'd also consider something like bee-queue, which would enable you to scale across processes or even across multiple server machines.
-
NodeJS recommended job queue/message queue??
For NodeJS, there are BullMQ(successor of Bull), Bull and Bee Queue
-
[AskJS] How do you do JS on the backend?
bee-queue for offloading tasks onto non-web-server machines
What are some alternatives?
docker-nextcloud - Nextcloud Docker image
bull - Premium Queue package for handling distributed jobs and messages in NodeJS.
docker-db-backup - Backup multiple database types on a scheduled basis with many customizable options
kue - Kue is a priority job queue backed by redis, built for node.js.
redix - a very simple pure key => value storage system that speaks Redis protocol with Postgres as storage engine and more
Qedis
The gist - BullMQ - Message Queue and Batch processing for NodeJS and Python based on Redis
node-resque - Node.js Background jobs backed by redis.
node-express-boilerplate - A boilerplate for building production-ready RESTful APIs using Node.js, Express, and Mongoose
piscina - A fast, efficient Node.js Worker Thread Pool implementation
Ironium - Job queues and scheduled jobs for Node.js, Beanstalkd and/or Iron.io.
better-queue - Better Queue for NodeJS