twemproxy icon indicating copy to clipboard operation
twemproxy copied to clipboard

Q: still copy after each msg_parsed??

Open skygragon opened this issue 3 years ago • 1 comments

mbuf_split is called after each command parsed? what if client send multiple commands in pipeline?

image

skygragon avatar Aug 23 '22 07:08 skygragon

Duplicate of https://github.com/twitter/twemproxy/issues/158 - see discussion there.

The splitting logic is still correctly splitting the buffers

In practice, having a small default mbuf size limits the worst case performance impact of splitting commands if a client does support pipelining outgoing commands

TysonAndre avatar Aug 23 '22 12:08 TysonAndre