- Introduce
prepared_command, which already holds serialized form, and yous it as item in ConstBufferSequence
in other words, the idea is to avoid output (tx) buffer linearization. Currently this technique is used with rx buffer on (and it used completely on the experimental branch).
Avoiding output linearization will really make bredis zero cost, as the user's payload will not be copied by bredis, and will be passed into OS-kernel directly.
prepared_command, which already holds serialized form, and yous it as item inConstBufferSequencein other words, the idea is to avoid output (
tx) buffer linearization. Currently this technique is used withrxbuffer on (and it used completely on the experimental branch).Avoiding output linearization will really make bredis zero cost, as the user's payload will not be copied by bredis, and will be passed into OS-kernel directly.