I'm using billiard to run two processes (a & b) in parallel with a pair of Queue()s to communicate between them (a->b and b->a) and despite using a loop in each process that should be checking the queues every few milliseconds, I'm experiencing a delay of up to many seconds between one process putting a message in a queue and the other process receiving it. Frustratingly, it seems to be variable as to when these delays manifest, with delays of only 10-100ms otherwise. Any suggestions for troubleshooting something like this?
I'm using billiard to run two processes (a & b) in parallel with a pair of Queue()s to communicate between them (a->b and b->a) and despite using a loop in each process that should be checking the queues every few milliseconds, I'm experiencing a delay of up to many seconds between one process putting a message in a queue and the other process receiving it. Frustratingly, it seems to be variable as to when these delays manifest, with delays of only 10-100ms otherwise. Any suggestions for troubleshooting something like this?