apex / apex/up

Optimize reverse proxy

未关闭
#40 9 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
Performance
主要语言
Go
星标
8.8k
派生
383
PR 合并指标
30 天内没有已合并 PR

描述

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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。