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

stream message has low priority than mailbox and queue #320

Open
maolin-cdzl opened this issue Dec 2, 2018 · 0 comments
Open

stream message has low priority than mailbox and queue #320

maolin-cdzl opened this issue Dec 2, 2018 · 0 comments

Comments

@maolin-cdzl
Copy link

sorry for poor english.
in some really busy mlm server,stream message may block for quite long time. it's easy to test,keep send random mailbox/queue/stream message in a thread,recv message in another. recv thread never read any stream message. if stop sender thread,recv thread will read all stream message at last.

look into source code,maybe it is because zloop_t reader register order,router socket always be registed before any stream sockets.

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