Skip to content

2 background workers, 10 Monq workers behavior question #18

@sferoze

Description

@sferoze

Hi my question is about this text in the documentation

"This will set up 2 background worker processes. If you are deploying to multiple servers, or servos (modulus), this will fire up 2 workers on each. It will then start up 10 Monq workers on each process."

I understand the use of this package. To setup a function, to be called at a later time on a schedule. It will run this function in a new meteor process so it does not block the current server.

But I am lost when it comes to the configuring the background workers and Monq workers.

I imagine when a job is scheduled to run it would just start one background process. Why is the default set to 2 background workers? And why 10 Monq workers? Isn't monq just to connect to mongodb?

Thanks in advacne for the clarifications

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions