Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

performance wise question #507

Open
viseth opened this issue Oct 25, 2023 · 0 comments
Open

performance wise question #507

viseth opened this issue Oct 25, 2023 · 0 comments

Comments

@viseth
Copy link

viseth commented Oct 25, 2023

Hi,

Anyone has experienced issues or performance issue when running multiple cron ?

I wondering whether is it more efficient in terms of CPU, MEM consumption to initialize mulitple cron instead of a single one that will hold all variety of cron job.

var myCron1 = cron.New()
var myCron2 = cron.New()
var myCron3 = cron.New()
myCron1.Start()
myCron2.Start()
myCron3.Start()

I find it easier to have multiple cron to separated different type of jobs at a cost of code duplication.

Any insight ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant