Comment by reactordev

8 months ago

I’m currently using MessagePack. It does the job of making small binary messages but I still suffer from marshal/unmarshal copying.

For certain messages with a fixed size (no strings or arrays) I can pin a message and reuse its memory address within the queue but there’s still data in memory that needs to be copied. At the very least from the TCP/IP stack.