apex / apex/up

Optimize reverse proxy

Aberta
#40 9 comentários 0 reações 0 responsáveis Ver no GitHub
Performance
Linguagem predominante
Go
Estrelas
8.8k
Forks
383
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

Do some profiling and get the latency as low as possible, possible replace Go's reverse proxy with https://github.com/valyala/fasthttp, test unix domain sockets in Lambda as well, check heap and see what can be pooled. It's also making some assumptions about having concurrency of 1 at the moment, since that's the case with Lambda.

Make sure it's not decompressing gzip and recompressing either, not sure what the proxy does but I know net/http's client does this transparently, test with some larger responses.

- [ ] profile cpu
- [ ] profile mem
- [ ] test larger responses
- [ ] implement any quick wins
- [x] either remove Accept-Encoding or ignore when already compressed

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.