valyala/fasthttp

client: set response body as net.Buffers

Open

#1,161 opened on 2021年11月15日

GitHub で見る
 (5 comments) (0 reactions) (0 assignees)Go (21,741 stars) (1,755 forks)batch import
enhancementhelp wanted

説明

The net.Buffers internally uses writev syscall so we can write multiple chunks without concatenation in buffer. This significantly improves performance and I wondered why fasthttp doesn't use it.

コントリビューターガイド

client: set response body as net.Buffers · valyala/fasthttp#1161 | Good First Issue