gpt4 book ai didi

performance - Apache 后面的 node.js 是否比 node.js HTTP 服务器慢得多?

转载 作者:搜寻专家 更新时间:2023-10-31 23:43:53 25 4
gpt4 key购买 nike

这比直接访问慢很多吗?

RewriteEngine On
RewriteRule (.*) http://localhost:23232/$1 [P]

最佳答案

不会慢很多。与 Node.js 处理您的请求所花费的时间相比,Apache 代理您的请求所花费的时间极有可能甚至难以衡量。

但是,您可能想要使用 ProxyPassProxyPassReverse而不是重写,以便 Apache 充当真正的代理。

关于performance - Apache 后面的 node.js 是否比 node.js HTTP 服务器慢得多?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10365550/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com