0

I am using Gearman as my job queue manager. Basically i use gearman to manage mail jobs (fire & forget approach). I have a single worker to handle those mail sending jobs. When my application is going to send large amount (>1000) of emails, i can see the queue is growing and it takes some time to process the complete task.

Can i add more workers to pick jobs from the queue?. Can Gearman handle that worker management or should i intentionally add workers by tracking the queue size. Can anybody help me?

1 Answers1

0

Gearman cannot automatically launch new workers on demand. You can use GermanManager with different configs to launch required number of jobs for you when the queue is getting large.

mym
  • 252
  • 2
  • 9