Best of Nginx — April 2023
- 1
- 2
Bits and Pieces·3y
How to Scale Node.js Socket Server with Nginx and Redis
This post explains how to scale Node.js applications using Nginx Load Balancer and solve potential problems. It covers balancing socket servers, using Nginx load balancer with multiple Node servers, problems with polling, WebSocket transport layers, and establishing communication between Node instances with Redis PUB/SUB.
- 3
Sweetcode·3y
How to Minimize Docker Container Image Size Using DockerSlim
Using DockerSlim allows you to minimize Docker image size up to 30 times. It analyzes your Docker image’s contents and removes duplicate files, unused dependencies, and system libraries that the application doesn’t require to run. These approaches slim or remove layers with unnecessary binaries, libraries, files, and directories.
- 4