redis icon indicating copy to clipboard operation
redis copied to clipboard

Reduce latency of write operations

Open mzimbres opened this issue 7 months ago • 1 comments

As described in this comment there is an easy way to reduce latency of write operations

We can avoid copying payloads here when the connection has only one ongoing async_exec. The multiplexer get_write_buffer() function could then return a string_view pointing directly to the request internal buffer instead of a copy of it, which would then be used here.

mzimbres avatar Jun 02 '25 14:06 mzimbres