valyala/fasthttp

client: set response body as net.Buffers

Open

#1.161 aberto em 15 de nov. de 2021

Ver no GitHub
 (5 comments) (0 reactions) (0 assignees)Go (1.755 forks)batch import
enhancementhelp wanted

Métricas do repositório

Stars
 (21.741 stars)
Métricas de merge de PR
 (Mesclagem média 1d 11h) (34 fundiu PRs em 30d)

Description

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.

Guia do colaborador