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 (1,755 forks)batch import
enhancementhelp wanted

Repository metrics

Stars
 (21,741 stars)
PR merge metrics
 (平均マージ 3d) (30d で 44 merged PRs)

説明

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.

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