Node.js Meets Docker
summary
PayPal migrates Node.js apps to containers, rebuilding deployment with Docker images, dockerfiles and Alpine base image to get immutable, layer-cached artifacts. Advice includes splitting COPY to avoid npm install cache busting, using volumes for persisted data, writing logs to stdout routed via Fluentd, health checks and graceful shutdown via signals, and composing services with docker-compose or Kubernetes for orchestration, canary deploys and autoscaling. Outcome: multiple language stacks (five or six) share layers and deployments become declarative and more reliable.
AI-written summary · about
chapters (7)
- 0:00Introduction and agenda
- 1:12Core container concepts
- 4:56Docker fundamentals
- 10:37Running containers
- 13:23Docker compose and automation
- 17:41Orchestration with Kubernetes
- 22:12Trends and future outlook
related talks
23mDockerizing Nodejs application A dev to prod journey
30mNode.js in a Kubernetes World
28mScaling Node.js Applications with Kubernetes and Docker
29mHow to Build and Run Node Apps with Docker and Compose
21mScaling Node.js applications with Kubernetes and Docker
22mRapidly Developing Microservices with Node js and Docker
44mSpeeding Up Deployment of JavaScript and Node.js Applications
20mCreating Production Ready Containers: What Devs Need to Know to Secure Their Containers
