Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Receiver end stops receiving #155

Open
JoseKilo opened this issue Nov 21, 2018 · 0 comments
Open

Receiver end stops receiving #155

JoseKilo opened this issue Nov 21, 2018 · 0 comments

Comments

@JoseKilo
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant