Dynamic synchronization between producer and multiple consumers