Replies: 1 comment
-
I think the answer is to make sure that the The first path via However, the second path via |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I just saw that in memstore.go's storeRawMsg NATS is always executing a byte copy of the msg payload
My question is: Is this really needed? It won't generate a direct performance impact, but will increase GC load imho.
While I think I understood the basic idea behind it - I also could not find anything tampering with the content of msg in the calling code. I also think this should anyhow be discouraged for the broker?
It also comes with the "todo" on top which I could not make too much sense of as either copying is requried or not, but doing it smarter?
Any feedback on that is highly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions