Hi Kenton,

thank you very much for your detailed reply!

As the overall processing speed will be crucial (in my aforementioned naive 
single-threaded approach the tcp recv buffer turned out to be a 
bottleneck), I'd like to borrow you expertise once more.

In your opinion, which of the two options you indicated 
(expectedSizeInWordsFromPrefix vs. AsyncIoStream) will be the more 
promising when it comes to processing speed?

Given the first option: How many bytes do I have to read before 
expectedSizeInWordsFromPrefix() can determine the definitive amount of 
bytes of the current message? Based on previous discussions on this board, 
I'd say at least 8 bytes (4 bytes = count of segments + N x 4 bytes = sizes 
of the segments)... is that correct?

Thank you very much in advance,

   amg

-- 
You received this message because you are subscribed to the Google Groups 
"Cap'n Proto" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to capnproto+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/capnproto/38377c3d-912e-4322-8cc2-c6f10d2671fb%40googlegroups.com.

Reply via email to