V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  ChristopherWu  ›  全部回复第 17 页 / 共 65 页
回复总数  1288
1 ... 13  14  15  16  17  18  19  20  21  22 ... 65  
2019-09-24 10:31:51 +08:00
回复了 ChristopherWu 创建的主题 程序员 最熟悉的陌生人: 5 分钟快速理解 HTTP2
@learningman #25 也就是 proxy_pass 不支持,这个问题不大,的确没什么必要。
2019-09-24 10:30:34 +08:00
回复了 ChristopherWu 创建的主题 程序员 最熟悉的陌生人: 5 分钟快速理解 HTTP2
@learningman #25 谢谢,我找到官网 faq 了:
Q&A
Q: Will you support HTTP/2 on the upstream side as well, or only support HTTP/2 on the client side?

A: At the moment, we only support HTTP/2 on the client side. You can’t configure HTTP/2 with proxy_pass. [Editor – In the original version of this post, this sentence was incorrectly transcribed as “You can configure HTTP/2 with proxy_pass.” We apologize for any confusion this may have caused.]

But what is the point of HTTP/2 on the backend side? Because as you can see from the benchmarks, there’s not much benefit in HTTP/2 for low‑latency networks such as upstream connections.

Also, in NGINX you have the keepalive module, and you can configure a keepalive cache. The main performance benefit of HTTP/2 is to eliminate additional handshakes, but if you do that already with a keepalive cache, you don’t need HTTP/2 on the upstream side.
2019-09-23 17:16:22 +08:00
回复了 ChristopherWu 创建的主题 程序员 最熟悉的陌生人: 5 分钟快速理解 HTTP2
@liuyinltemp #20 不会吧?! 这么久了,还不支持-
2019-09-23 15:52:03 +08:00
回复了 ChristopherWu 创建的主题 程序员 最熟悉的陌生人: 5 分钟快速理解 HTTP2
@cheeto #18 哪里,现在这句话明明是我皓尼・郝里斯( HioHio )说的。 开尔文说的是物理学 #滑稽
2019-09-23 15:35:35 +08:00
回复了 ChristopherWu 创建的主题 程序员 最熟悉的陌生人: 5 分钟快速理解 HTTP2
@jarnanchen #15 哈哈,的确小 #滑稽
2019-09-23 14:57:55 +08:00
回复了 ChristopherWu 创建的主题 程序员 最熟悉的陌生人: 5 分钟快速理解 HTTP2
@picone #11 风险不大的。
2019-09-23 14:57:45 +08:00
回复了 ChristopherWu 创建的主题 程序员 最熟悉的陌生人: 5 分钟快速理解 HTTP2
@picone #11 但是你看到外国的公司很多都上了啦。
2019-09-23 14:49:05 +08:00
回复了 ChristopherWu 创建的主题 程序员 最熟悉的陌生人: 5 分钟快速理解 HTTP2
@jhdxr #9 现在 HTTP2 还不是很多人了解嘛。。http3 一步步来,下次就学习它。

皓尼・郝里斯( HioHio ) 就是我 HioHio 哒。
2019-09-23 14:42:07 +08:00
回复了 ChristopherWu 创建的主题 程序员 最熟悉的陌生人: 5 分钟快速理解 HTTP2
@picone #7 我没有详细看过两种方案做到极致优化下的对比哈~ 就我现在了解的,我认为上、或者说切换到 http2 的性价比是很高的
2019-09-23 14:39:22 +08:00
回复了 jack2y 创建的主题 程序员 关于阅读技术书籍的问题
我的习惯是写学习笔记,也就是文章,看我主页的文章都是学习来的
2019-09-23 14:36:33 +08:00
回复了 ChristopherWu 创建的主题 程序员 最熟悉的陌生人: 5 分钟快速理解 HTTP2
2019-09-23 14:30:27 +08:00
回复了 ChristopherWu 创建的主题 程序员 最熟悉的陌生人: 5 分钟快速理解 HTTP2
@vus520 #3 如果不从性能上抠,实际上用没用 http2,除非要 debug 或者 curl,否则对程序员(前后端都是)是没有感知的。 可能也就运维要改改 nginx (如果用到)
2019-09-23 14:29:21 +08:00
回复了 ChristopherWu 创建的主题 程序员 最熟悉的陌生人: 5 分钟快速理解 HTTP2
@vus520 #3 我还没有多少实践经验,按我知道的,webserver 其实不用改动,因为现在基本所有 http 库都支持 http2 的了。后台程序改动是有的,很多以前 http1 中的优化技巧,在 http2 里就不一定是好处了,比如常见的多个域名(因为 http1 规定一个域名只能承载有限的 http 链接)等。具体可以看看 http2 的一本小书,里面介绍的很详细。

我文章的确没有讲到实际应用应该怎么办~
2019-09-23 13:57:19 +08:00
回复了 ChristopherWu 创建的主题 程序员 最熟悉的陌生人: 5 分钟快速理解 HTTP2
@learningman #1 诶,你是怎么测的呀?
2019-09-23 13:56:09 +08:00
回复了 DavidNineRoc 创建的主题 程序员 同样是 GitHub 开源三年,为什么我只收获了 300 star
@fatelight #4 emm,不知道我的死了没有呢。我现在用 tidal 了,对这个木有需求了
2019-09-23 13:48:07 +08:00
回复了 DavidNineRoc 创建的主题 程序员 同样是 GitHub 开源三年,为什么我只收获了 300 star
同是开源三年,我都有 2000 stars 了: https://github.com/YongHaoWu/NeteaseCloudMusicFlac
哈哈哈
2019-09-20 13:38:59 +08:00
回复了 raywong 创建的主题 Go 编程语言 Gin 的路由问题,路由不匹配
不可能吧,一个这么大的框架出这个问题。
2019-09-19 13:02:02 +08:00
回复了 ChristopherWu 创建的主题 程序员 Dark lang:程序语言中想杀死一切复杂度的银弹
@Rorshach #48 演讲水平也不错
2019-09-19 13:01:50 +08:00
回复了 ChristopherWu 创建的主题 程序员 Dark lang:程序语言中想杀死一切复杂度的银弹
@zhang77555 #49 目标应该是重头设计,把历史积累的设计方案弄得更好。
2019-09-19 13:00:39 +08:00
回复了 ChristopherWu 创建的主题 程序员 Dark lang:程序语言中想杀死一切复杂度的银弹
@sonicjam #44 正确的翻译应该是什么吖?
1 ... 13  14  15  16  17  18  19  20  21  22 ... 65  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1232 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 23ms · UTC 23:21 · PVG 07:21 · LAX 16:21 · JFK 19:21
Developed with CodeLauncher
♥ Do have faith in what you're doing.