3 ms·
I don't know of a good threshold, but you should generally favor small messages -> big computations. If a 1mb message isn't handled properly, it could be retra
by brobinson 11y ago
I don't know of a good threshold, but you should generally favor small messages -> big computations. If a 1mb message isn't handled properly, it could be retransmitted, etc. In the case of a 1mb message, it sounds like that data should be serialized into a database and the id or whatever is needed to access it is passed along in the message instead.
It's like emailing a 10mb powerpoint instead of throwing it on Dropbox and sending a link to it.