Skip to content

how to improve perf with multiple topics per socket #553

Answered by ghost
rpgehlot asked this question in Q&A
Discussion options

You must be logged in to vote

Repeating the conclusion:

The rule of thumb for publish is basically the same rule of thumb as for send; publish/send to topics/with sockets in ways to maximize locality - if you have 10 messages to send, send them to one socket a time, then move on to next. Same for publish; publish to topics in order of locality / relationship - use the sockets/topics that are the most related, in groups, don't just randomly publish.

Replies: 3 comments 42 replies

Comment options

You must be logged in to vote
31 replies
@ghost
Comment options

@Shonke
Comment options

@Shonke
Comment options

@e3dio
Comment options

@Shonke
Comment options

Comment options

You must be logged in to vote
4 replies
@ghost
Comment options

@ghost
Comment options

@e3dio
Comment options

@Shonke
Comment options

Answer selected
Comment options

You must be logged in to vote
7 replies
@ghost
Comment options

@ghost
Comment options

@ghost
Comment options

@ghost
Comment options

@ghost
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants