How to check for worker health.
Created by: lan-nguyen91
Question: Worker HealthCheck
I have a simple implementation where API create jobs, and multiple workers just subscribe and process jobs.
I would like to scale the workers and monitor their health. Worker is just a simple script file and doesn't have any rest endpoint. What would be the best way to get the health of the worker. Ideally worker will be running in a separate container which has no knowledge of the main API.
Is Bull provide such functionality, if not is it prefer if I just open another queue for healthcheck (sound like a hack)
Thanks.