HI.
For performance, throughput, and latency reasons, I want to do pure binary transmission, but not RPC based. Can it be implemented with RCF? If possible, what to do?
How to use RCF to establish long TCP connection for binary data transmission?
Re: How to use RCF to establish long TCP connection for binary data transmission?
You can pass binary blobs back and forth on a RCF connection, using RCF::ByteBuffer:
http://www.deltavsoft.com/doc/_performance.html
ByteBuffer's are never copied, they are only reference counted, so you can move a lot of data around without incurring significant overhead. If you have a method like this:
, then there will be no serialization overhead at all, which can make a big difference. You would just have to parse the ByteBuffer's yourself.
http://www.deltavsoft.com/doc/_performance.html
ByteBuffer's are never copied, they are only reference counted, so you can move a lot of data around without incurring significant overhead. If you have a method like this:
Code: Select all
RCF_METHOD_R1(RCF::ByteBuffer, myFunc, RCF::ByteBuffer)