aio-libs / aio-libs/aiozmq

Receiver end stops receiving

Aperta
#155 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
431
Fork
57
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

I have a minimal example code in this gist https://gist.github.com/JoseKilo/319493e6ef3f17d86a76ad7c7b20055e

It's a modified version of the stream-dealer-router example https://github.com/aio-libs/aiozmq/blob/master/examples/stream_dealer_router.py

The differences are:
- Instead of running everything from the same process, I use two processes: sender and receiver.
- Instead of running for a finite number of iterations, they run infinite loops.
- I have removed (commented out) the reply message.

When both are launched, they start working as expected, but after some time, the sender keeps iterating and the receiver stops receiving.

When the reply message is enabled, the problem disappears, but the communication is also slower.

Depending on which process is started first, the problem appears sooner or later.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.