Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Max Request Size Problem! #30

Open
salih3451 opened this issue Oct 20, 2018 · 1 comment
Open

Max Request Size Problem! #30

salih3451 opened this issue Oct 20, 2018 · 1 comment

Comments

@salih3451
Copy link

salih3451 commented Oct 20, 2018

We're using this module for our project. We're having an issue about POST/PATCH request body sizes. If we send smaller than 60 KB body ( for example: 50 lines of text ) there are any problem, but if we send body with a higher than 60 KB size ( for example: image file ) there are any response from server, so there is a timeout. Our project is using Nginx proxy. If we don't use cluster and this module there are any problem. Is there any solution?


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@wzrdtales
Copy link
Owner

First of all:

I do not recommend to use the cluster module of node at all. There are known problems, especially with large payloads as yours. From here I can't tell you right now if this is due to the problems in the node core (see this issue) or a misconfiguration of your nginx.

However, I recommend you to scale without the cluster module. This is the better way anyways, since you can't scale across nodes with the cluster module. My recommendation, get a docker kubernetes cluster and just scale core per core. And one hint about scaling with node, at the end: Never go beyond double digit load average on any node.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants