Posts by

Ben Cane

Pregenerating Static Web Pages for Better Performance

Development

Reading Time: 8 minutesIn my recent Tuning NGINX article, I talked about how it’s important to tune based on the specific needs of an application and its environment. In today’s article, we’re going to put that in practice. Last time, we tuned our environment by adjusting parameters within NGINX. Now, we’re going to explore a sometimes-overlooked aspect of […]

Continue Reading

Running Services within a Docker Swarm

Development

Reading Time: 11 minutesWhen Docker released its latest version, Docker Engine v1.12, it included quite a few changes to the capabilities provided by Docker Swarm. In today’s article, we’ll be exploring how to deploy a service using Docker’s Swarm Mode. “Docker 1.12 brought changes to Docker Swarm’s capabilities.” via @madflojo Click To Tweet Activating Swarm Mode on Ubuntu […]

Continue Reading

Using Honcho to Create a Multi-Process Docker Container

Development

Reading Time: 8 minutesA common misconception is that Docker is only for creating single-process or single-service containers. While it’s true that the Dockerfile and docker run command options are designed for running a single process, that doesn’t mean that Docker itself doesn’t allow for a multi-process Docker container. In fact, Docker’s documentation has a very useful tutorial on […]

Continue Reading

Ensuring Containers Are Always Running with Docker’s Restart Policy

Development

Reading Time: 9 minutesGetting a notification that Docker containers are down in production is one of the worst ways to spend your night. In today’s article, we’ll discuss how to use Docker’s restart policy to automatically restart containers and avoid those late-night notifications. “How to avoid late-night notifications with @Docker’s restart policy” via @madflojo Click To Tweet What […]

Continue Reading