I think it would be great to have an option for nsqjs that could redistribute the RDY count between multiple connected nsqds based on their channel depths. I frequently run into the problem that I need to set a hard "global" max-in-flight value, but I'm running multiple nsqds and sometimes just one of them will be bursting while the others don't get any messages.
The same thing was discussed in go-nsq, unfortunately without an implementation yet. Just food for thought!
nsqio/go-nsq#179
nsqio/go-nsq#277
I think it would be great to have an option for nsqjs that could redistribute the RDY count between multiple connected nsqds based on their channel depths. I frequently run into the problem that I need to set a hard "global" max-in-flight value, but I'm running multiple nsqds and sometimes just one of them will be bursting while the others don't get any messages.
The same thing was discussed in go-nsq, unfortunately without an implementation yet. Just food for thought!
nsqio/go-nsq#179
nsqio/go-nsq#277