Hey guys, first post on dev.to. I thought I would introduce a gem we have developed to simplify the life of RoR people when deploying apps to Cloud Run.
Running background jobs on Cloud Run can be a pain because traditional job processors like Sidekiq or Resque are not an option if you want to go full serverless.
So we developed a library to do background jobs processing using Google Cloud Tasks. If you like Sidekiq, you should like Cloudtasker (we hope!)
Here is the link to the library: https://github.com/keypup-io/cloudtasker
And also a full blog post showcasing the gem: https://www.keypup.io/blog/cloud-tasks-for-ruby-and-rails
Top comments (5)
Interesting. Thanks. I'd be interested to know what your experience of using Google Cloud is like - follow up post maybe? ;)
I've just posted a full write-up about our GCP deployment in case you're interested ;)
Hehe we've achieved quite a bit with GCP at Keypup. I'll post a blog article debriefing our experience using Cloud Run + Rails early next week :)
Thanks. It seems App Engine app is required when creating Cloud Task queues. Is it mandatory to have an App Engine project?
Yes, an App Engine project and/or App Engine must at least be enabled
(we discussed that on GitHub but reposting the answer here for reference purpose)