rq-scheduler VS supervisor

Compare rq-scheduler vs supervisor and see what are their differences.

rq-scheduler

A lightweight library that adds job scheduling capabilities to RQ (Redis Queue) (by rq)

supervisor

Supervisor process control system for Unix (supervisord) (by Supervisor)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
rq-scheduler supervisor
4 36
1,386 8,221
1.1% 0.7%
2.2 5.2
about 1 month ago about 1 month ago
Python Python
MIT License GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.

rq-scheduler

Posts with mentions or reviews of rq-scheduler. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-04-24.
  • Keep the Monolith, but Split the Workloads
    8 projects | news.ycombinator.com | 24 Apr 2023
  • RQ-Scheduler for tasks in far future?
    2 projects | /r/Python | 28 Dec 2022
    RQ-Scheduler is another simpler alternative (rq/rq-scheduler: A lightweight library that adds job scheduling capabilities to RQ (Redis Queue) (github.com)) that appears to be good for such purposes. It's not immediately clear if it would suffer from the same issues, but it seems not (Redis manages issues with data loss well, a separate queue is used for the scheduled tasks, etc.). Is anyone aware of any drawbacks to using RQ-Scheduler for something like this?
  • Need direction on how to add asynchronous / scheduled tasks on my flask app running on aws beanstalk
    1 project | /r/flask | 14 Mar 2021
  • Some advice: will my setup be production ready?
    3 projects | /r/django | 8 Feb 2021
    Some thoughts: - Storing API keys in Redis with AOF and RDB persistence turned on is going to be way faster than storing those keys in Mongo. - Did you mean RQ (redis-queue)/django-rq? If so, it works well as long as you don't need a scheduler for cron-like tasks, which it doesn't include. You can add rq-scheduler for that though: https://github.com/rq/rq-scheduler - Make sure your redis instance has a password -- redis 6 supports ACLs as well - The problem with slow requests is that they tie up app server processes and usually also database connections. That may be fine with a small number of consumers, but if you point your web site at this API, you may run into problems. Consider that if an app server serving web site traffic is waiting for a slow request to your API, then both app servers are affected -- you're now holding resources on the web site and the API, effectively. - HTTP clients often use a default timeout value for requests, and it's a best practice to use such a timeout -- so you'll need to coach your partners consuming this API not to use timeouts for your API.

supervisor

Posts with mentions or reviews of supervisor. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-09-09.
  • An Internet of PHP
    9 projects | news.ycombinator.com | 9 Sep 2023
    What I went with was having both a web server (Apache/Nginx) and PHP-FPM in the same container image, held together by Supervisor: http://supervisord.org/

    In my case, the Dockerfile looks a bit like the following:

      # Whatever base web server image you want, Debian/Ubuntu based here
  • Private Python Packages With devpi
    4 projects | dev.to | 1 Jul 2023
    As you can see there are several methods of running devpi server including cron, launchd (OSX service), nginx, Windows service, and supervisord. It also has a systemd service file which we can use to manage the service easily as Ubuntu uses it for primary service management. First off though we're going to need a proxy script to ensure that devpi is running in the virtual environment:
  • How can I get a lisp image to run in the background?
    2 projects | /r/lisp | 23 Jun 2023
    If it's a linux box you can make it a systemctl service, or you could use http://supervisord.org/.
  • Can I create/delete a Serverless VPC using Python?
    1 project | /r/googlecloud | 13 May 2023
    I used supervisord to start my server and the cloud SQL proxy within the same container. That should work for your use case too.
  • Have you convinced anyone to use Nix or NixOS? Friends? Coworkers?
    5 projects | /r/NixOS | 16 Apr 2023
    I convinced (previous) $dayjob to use it. It (nix) kind of hung around in the background with the team that used haskell for awhile, but became prime time when we needed to support a range of VMs running within client infrastructure that were in reality just running various python scripts under supervisord (http://supervisord.org/). The range of client machines (redhat, centos, debian, ubuntu all of different releases) with differing versions of python and supervisord were driving our support and devops teams crazy (but in a weird way - they thought they were being productive, and really enjoyed tweaking things to work with additional varieties of os...). Additionally, having to work around some minor pain points of supervisord (adding and removing config files and not interrupting running services) lead to the realisation that there was a perfectly good service manager at the bottom of the modern versions of these systems (systemd) and that nixos was just a nix wrapper around this systemd and it would only restart what actually changed...
  • Design of GNU Parallel
    3 projects | news.ycombinator.com | 19 Mar 2023
    Here's more information about the configuration file format, in case anyone is curious: http://supervisord.org/configuration.html

    My problem is that it's not always immediately clear how software that would normally run as a systemd service could be launched in the foreground instead. It usually takes a bit of digging around.

  • How We Built an Application to Test Student Docker Images for Database Systems University Course
    6 projects | dev.to | 24 Feb 2023
    This post is structured as follows: The first chapter Requirements and Design, describes the requirements for such an application, defines its processes, breaks it down into logical components, and proposes a data model. The second chapter Implementation, provides an introduction to key implementation issues, such as implementing asynchronous tasks and LDAP authentication. It also showcases the usage of Docker with Python SDK in the project, including network configuration, and describes the deployment configuration using supervisord. The final chapter summarizes the efforts and provides links to the code repositories.
  • Is it possible direct cron output to supervisord?
    1 project | /r/Ubuntu | 30 Nov 2022
    I have set up supervisord running cron job. However based on the discussion in supervisord GitHub, it is not possible to redirect cron's spawned command output to supervisord.
  • rc.d script for Node.js application
    2 projects | /r/freebsd | 20 Nov 2022
  • MISP at scale on Kubernetes
    10 projects | dev.to | 17 Nov 2022
    The project MISP-Docker from Coolacid is providing a containerized version of the MISP solution. This all-in-one solution includes the frontend, background jobs, cronjobs and an HTTP Server (Nginx) all orchestrated by process manager tool called supervisor. External services such as the database and Redis aren’t part of the container but are necessary. We decided that this project is very a good starting point to scale the MISP on Kubernetes.

What are some alternatives?

When comparing rq-scheduler and supervisor you can also consider the following projects:

fastapi-cloud-tasks - GCP's Cloud Tasks + Cloud Scheduler + FastAPI = Partial replacement for celery.

Docker Compose - Define and run multi-container applications with Docker

django-rq - A simple app that provides django integration for RQ (Redis Queue)

PM2 - Node.js Production Process Manager with a built-in Load Balancer.

celery - Distributed Task Queue (development branch)

honcho - Honcho: a python clone of Foreman. For managing Procfile-based applications.

Flask-RQ2 - A Flask extension for RQ.

Nodemon.io - Monitor for any changes in your node.js application and automatically restart the server - perfect for development

django-rq - A simple app that provides django integration for RQ (Redis Queue) [Moved to: https://github.com/rq/django-rq]

psutil - Cross-platform lib for process and system monitoring in Python

NiceHash-Mining-Scheduler - Schedule the start and stop of your NiceHash miners using this script.

systemd - The systemd System and Service Manager