snuspl/dolphin

Reduce the overhead of multiple serializations when sending messages

Opened this issue · 0 comments

When messages are prepared to be sent, first the key/preValue/value objects are encoded to byte arrays and then serialized again via Avro. This becomes a problem when the message size is big. We should avoid this series of serializations and minimize the serialization overhead.