Supporting multiple rails instances #44

Open
opened 2025-12-29 00:21:49 +01:00 by adam · 3 comments
Owner

Originally created by @stenver on GitHub (May 7, 2017).

If I have multiple stateless rails instances running in different servers, then Crono stars the job in all of the instances. I was hoping since Crono synchronises on DB, then it will only start the job in one instance.

Is there any way to do this with crono?

Originally created by @stenver on GitHub (May 7, 2017). If I have multiple stateless rails instances running in different servers, then Crono stars the job in all of the instances. I was hoping since Crono synchronises on DB, then it will only start the job in one instance. Is there any way to do this with crono?
Author
Owner

@ghost commented on GitHub (Sep 28, 2022):

+1

@ghost commented on GitHub (Sep 28, 2022): +1
Author
Owner

@ghost commented on GitHub (Sep 28, 2022):

@stenver did you find your answer ? would like to now how you solved for this?

@ghost commented on GitHub (Sep 28, 2022): @stenver did you find your answer ? would like to now how you solved for this?
Author
Owner

@ghost commented on GitHub (Sep 28, 2022):

way I think I would do is, even though I have multiple stateless rails instance, I would run single instance of crono and that should be fine unless you really have lot of cron jobs and they start hitting limits on single instance in terms of resource usage.

@ghost commented on GitHub (Sep 28, 2022): way I think I would do is, even though I have multiple stateless rails instance, I would run single instance of crono and that should be fine unless you really have lot of cron jobs and they start hitting limits on single instance in terms of resource usage.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/crono#44