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

ITopic.publish should not serialize if there are no subscribers #8262

tlamerig opened this issue May 27, 2016 · 0 comments


None yet
2 participants
Copy link

commented May 27, 2016

Class com.hazelcast.topic.impl.TopicProxy#publish serializes the message even if the message is never sent due to no subscribers. This is very inefficient at scale. For example, a producer periodically publishing on 100 topics of which typically only 10 have subscribers.

In the case of non-global-ordering and non-client use, the implementation should defer serialization until it has established that there are subscribers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.