Sponsored links
JavaScript/TypeScript

Replacing a static function by using proxy class

This is 4th post in Become a better and decent programmer series.In the first post, I explained how to extract logic in ...
JavaScript/TypeScript

Reducing number of conditional clauses by command pattern

This is 3rd post in Become a better and decent programmer series.In the first post, I explained how to extract logic in ...
JavaScript/TypeScript

How to make code testable

In this post, we created a shopping application which is available on console and refactored it. It has only one class w...
JavaScript/TypeScript

How to become a better programmer

I hadn't been decent programmer for a long time because I hadn't written unit test. Decent programmer should at least be...
Docker

Visualizing log info with Fluentd, Elasticsearch and Kibana

Docker writes contents written to stdout and stderr into json formatted log file. If we create a function to write log w...
Docker

Container optimization

As you already may know, Docker doesn't automatically remove images. An image composes of layers that are cached and the...
Docker

Update and rollback without downtime in swarm mode

We don't want to stop our services when updating one of Docker images in a cluster if possible. If the new image fails t...
Docker

Creating a cluster with Docker swarm and handling secrets

Docker Swarm is Native orchestration tool. It makes service management easy. For example, it stops a container which is ...
Docker

Override Docker compose file to have different environments

The dev-environment and production environment is often different. The difference depends on the system but what I can e...
Docker

Container’s dependency check and health check

A software becomes failing state. When our software falls into a failing state we want to restart the software in order ...
Sponsored links