This blog post was originally published on IBM Developer.
Best practices for managing memory in container-based Node.js apps
When running a Node.js application inside a docker container, traditional memory parameter tuning does not always work as expected. In this blog, we discuss the reasons why memory parameter tuning doesn’t always work in container-based Node applications and offer recommendations and best practices you can follow when you work with Node.js applications in container environments.
When Node.js applications are running within containers with memory limits set (using the
--memory option for docker or any other flags with your orchestration system), use the…
Currently doing Internship on Node.js at IBM ISL Runtimes, Bangalore