Sidekiq-Cron
cloudtasker
Our great sponsors
Sidekiq-Cron | cloudtasker | |
---|---|---|
5 | 6 | |
1,819 | 147 | |
1.0% | 2.7% | |
6.8 | 8.0 | |
6 days ago | 6 days ago | |
Ruby | Ruby | |
MIT License | MIT License |
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.
Sidekiq-Cron
-
My project: railstart app
sidekiq-cron
-
Sidekiq - enqueue a job after a series of other jobs are finished
this might be useful? https://github.com/ondrejbartas/sidekiq-cron
-
How can I schedule a job to be executed in the future ?
Depending on how far into the future you're planning to, it could be worth storing the datetime you want it executed on a field like perform_work_at within your database. Then use sidekiq-cron to check a few times a day for if the perform_work_at has passed & the work needs to be done.
-
Just wanted to share my tiny rails project
The cron job itself was not a huge hassle; the sidekiq-cron gem worked really well for me here to get everything configured in the application.
-
What's the best process monitoring tool these days?
If what you need is a job (related to application) you can use sidekiq with sidekiq-cron [https://github.com/ondrejbartas/sidekiq-cron] running every x seconds or when a job ends starts a new one.
cloudtasker
-
Cloudtasker - Monitor your Cloud Tasks jobs on GCP
The Cloudtasker gem automatically adds a duration field on each "Job done" log entry. This value can be used to create a metric on job duration.
-
Google Cloud Tasks with Active Job
TL;DR; It is now possible to use Google Cloud Tasks with Active Job using the cloudtasker gem with the release of v0.11.0. If you intend to deploy your Rails app on Cloud Run, Cloudtasker is the easiest solution to get started with background jobs on Rails.
-
Google Cloud Tasks with Rails Active Job
We just released support for Active Job on cloudtasker, a gem for background jobs using Google Cloud Tasks as a backend.
-
Leveraging and expiring your cache for model, association and query caching in Rails
Let's take a concrete example: background jobs. Should you use ActiveJob, Sidekiq, Resque or Cloudtasker for GCP, it's very common to have jobs defined like this:
-
Background jobs for Rails on GCP using Cloud Tasks
Here is the link to the library: https://github.com/keypup-io/cloudtasker
-
Guide to deploying production Rails applications to GCP
Migrating from Sidekiq to Cloud Tasks using our cloudtasker gem is fairly easy considering they're pretty much using the same syntax. Don't hesitate to ask questions on the cloudtasker project if you need help!
What are some alternatives?
sidekiq-scheduler - Lightweight job scheduler extension for Sidekiq
Sidekiq - Simple, efficient background processing for Ruby
Whenever - Cron jobs in Ruby
lambda_punch - 🐑👊 Asynchronous background job processing for AWS Lambda with Ruby using Lambda Extensions. Inspired by the SuckerPunch gem but specifically tooled to work with Lambda's invoke model.
Clockwork - A scheduler process to replace cron.
Lowkiq - Ordered background jobs processing
rufus-scheduler - scheduler for Ruby (at, in, cron and every jobs)
lambdakiq - 🔄👷 ActiveJob with SQS & Lambda
resque-scheduler - A light-weight job scheduling system built on top of Resque
cloudenvoy - Cross-application messaging for Ruby and Rails using Google Cloud Pub/Sub
minicron - 🕰️ Monitor your cron jobs
que-scheduler - A lightweight cron scheduler for the async job worker Que