[erlang-questions] Sending term vs binary

Ignas Vyšniauskas baliulia@REDACTED
Tue Feb 28 14:19:20 CET 2012


Has anyone done any benchmarking regarding sending big messages as terms
("as is") vs binary, i.e.

time required to send pure term
total time for doing term_to_binary/1 + sending binary + binary_to_term/1

Obviously the context here is a single VM with big messages (say >500KB)
such that only references of binaries are sent and we could actually
expect some significant differences.

I'd would be also interesting to hear any other comments regarding such
potential optimisation.


More information about the erlang-questions mailing list