OpenShift / Node.js可以服务的最大消息大小?

时间:2021-05-23 03:03:15

I have a web service called fetchAllRecordChanges running in OpenShift platform written in Node.js. Sometimes it can return plenty of data. Is it any limitation in OpenShift, or in Node.js that can prevent data to send to the client? Or any HTTP protocol limitation?

我有一个名为fetchAllRecordChanges的Web服务,在Node.js中编写的OpenShift平台中运行。有时它可以返回大量数据。 OpenShift或Node.js中的任何限制是否会阻止数据发送到客户端?或任何HTTP协议限制?

1 个解决方案

#1


0  

Assuming that you using openshift default router there would be some parts of the configuration that can affect your requests [1], but it's highly unlikely that this would affect typical node.js app.

假设您使用openshift默认路由器,配置的某些部分可能会影响您的请求[1],但这不太可能影响典型的node.js应用程序。

I would check default configuration in your node.js web framework (express.js etc.)

我会检查你的node.js web框架中的默认配置(express.js等)

[1] https://github.com/openshift/origin/blob/master/images/router/haproxy/conf/haproxy-config.template#L328

#1


0  

Assuming that you using openshift default router there would be some parts of the configuration that can affect your requests [1], but it's highly unlikely that this would affect typical node.js app.

假设您使用openshift默认路由器,配置的某些部分可能会影响您的请求[1],但这不太可能影响典型的node.js应用程序。

I would check default configuration in your node.js web framework (express.js etc.)

我会检查你的node.js web框架中的默认配置(express.js等)

[1] https://github.com/openshift/origin/blob/master/images/router/haproxy/conf/haproxy-config.template#L328