Closed JesKingDev closed 2 years ago
Interesting use case. Will consider it for a future version, but can see a lot of potential there for job overruns.
@gnuzealot Has this module been tested to work on Magento Commerce Cloud?
Feature merged in 1.4.2 thank you @JesKingDev for the contribution!
The MageMojo m2-ce-cron extension doesn't currently support clustered environments. In my installations, I have implemented a script which ensures that the cron only runs on a single server at any one time. One best practice is to offload admin and cron execution to a dedicated server. However, I would like to spread the load of cron execution across multiple servers for better throughput and to handle situations where certain synchronization crons take a lot of time. Spreading out cron execution across multiple servers would allow for much quicker execution of certain jobs and less potential for frontend impact when crons are resource intensive.
The implementation would need to take into account multiple servers running a cron process and uniquely identify them in some way (local hostname or local IP).
I am happy to provide additional use cases if needed, test a pre-release version, or assist with development.