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.

Summary of recommendations

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…

Ravali Yatham

Currently doing Internship on Node.js at IBM ISL Runtimes, Bangalore

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store