Question

What is the limit for Node.js fetch request / response body size and can it change it if needed?

I have an application that converts images into a video file. For a 1 minute video it needs to send 1800 images (canvas.toDataURL()). Their size is ~200Mb in total. I know that many services limit the size of the fetch request/response (Vercel does so to 5Mb). Does DO has a similar limit? Can it be lifted if needed? Thanks in advance!


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hi there,

In case that you are going to be running this on a Droplet, you would have root access to the server, meaning that you will be able to make any configuration changes needed so it would not be a problem.

You can follow the steps on how to deploy a Node.js Application to a Droplet here:

https://www.digitalocean.com/community/tutorials/how-to-set-up-a-node-js-application-for-production-on-ubuntu-20-04

Best, Bobby