[Question] Repeatable jobs with several nodejs instances - performance
I understand that when using Repeatable Jobs with several nodejs instances (same queue name, same jobId and cron string for the job), the job gets executed once across all instances per time "slot".
Regrading the perf:
- Only one instance will spend CPU on every execution? or maybe every one of the instances will wake up?
- Will it use the main thread (AKA the event loop)?
- When using separate process - 3.1. Will it handle the repeated job? 3.2. In case every instances wakes up, will it happen in the different process or the event loop?
Thanks!