Question

I have a starter worker. It does some initializations. I want other workers to wait this starter worker. The only way in my mind is to put messages in a queue. Workers will poll the queue. They will start after reading the messages. Is there a better way to synchronize?

No correct solution

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top