Neltherion commented on issue #11239:
URL: https://github.com/apache/arrow/issues/11239#issuecomment-1400269716

   > @Neltherion You could indeed send the buffers one by one or send them all 
at once using 
[sendmsg](https://docs.python.org/3/library/socket.html#socket.socket.sendmsg).
   
   @pitrou Thanks. But is this also doable with ZMQ? It seems ZMQ is only able 
to send bytearray data types. Since we have a byte-like object (the serialized 
object) and a pythonic list of buffers, how can we concatenate them together 
somehow to avoid memory copies and also be able to send the two in one go using 
ZMQ?
   
   [The code over at 
StackOverflow](https://stackoverflow.com/questions/75201514/sending-pickled-objects-using-pickle5s-out-of-band-buffers-over-the-network)
 has a working example to test ideas out.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to