DEV Community

loading...

Discussion on: Ruby on Rails Cron Jobs Using Whenever

Collapse
brayvasq profile image
Brayan Vasquez Author

Hi Daniel!.

For a monolithic Rails application, whenever seems to work fine.

I didn't know about Sidekiq-Scheduler, it looks cool. Definitely, I will give it a look.

Thank you so much for your recommendations!

PS: It would be very helpful if you could create a post talking about distributed systems and scheduled tasks/jobs.

Collapse
danielltw profile image
Daniel Leong πŸ‡ΈπŸ‡¬

Even with a monolithic application, it will be worth while to package your whole stack into docker containers. Service Oriented Architecture.

App as a single container, database as another container and redis/memcache as another container. You could package this whole stack with a single docker-compose file and your app on a docker image repository. This allows you to move and deploy your full stack with ease, on any machine you are working with.