The Assignment

Dissecting the Problem

The Health Endpoint 👨‍⚕️

  • You are working on an integration of an API, and you are given an API endpoint, Now, they did not provide sufficient information on the endpoint, so you figured you will have to take a look at the repository and read the code (assuming it’s…

This is a simple guide on how to dockerize a golang binary in go1.11 with the vendor directories. By default go command will completely ignore vendor directories. But enabling the build using the vendor directory would speed up build a lot, especially when running inside Docker, as you do not need to fetch the dependencies anymore.

View the guide here:

Another guide for gRPC:

Nginx recent release finally has native support for gRPC. It is a nice addition to existing tools such as Linkerd, Traefik, Envoy etc, but with much simpler configuration. 😄If you have tried Linkerd (which has an awesome dashboard!), you would definitely have agreed.

To test it out, we have a simple gRPC Echo service that will ingeniously return the text that is receives.

Our docker-compose.yml file would look like this:


We have two gRPC servers running, a client and nginx.

The nginx.conf is rather simple:

1. There’s no round function for numbers

2. There’s no reverse string function



  • You want your Docker image to be as small as possible
  • You want to know how multi-stage docker build…

Alex Tan

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