I recently came across a use case where I had to add text and resize multiple images a day and convert them to WebP format from JPEG so that they can be served more efficiently on the web.
As an initial approach, I used a simple Node server (in an EC2 box) which used sharp library (more on this later) to process images. …
In my last article, I spoke about how you can build Docker images and run containers.
While it would make a good read for beginners, I’d like to focus on a problem that bugged me for weeks while setting up HTTPS on a Kubernetes cluster mainly because of how scattered the docs are.
For the purpose of this tutorial, we’ll be using a tool called Helm. …
Docker — a buzzword in the tech industry for some time now and a daunting concept to deal with initially. In this article, we’ll be exploring what Docker is, why we need it, and how we could run a basic Golang server in a Docker container. So, let’s dive in.
Docker is simply an ecosystem that provides us with a set of services and tools to help in running and managing containers.
So, what are containers?
According to docker.com, “A container is a standard unit of software that packages up code and all its dependencies so the application runs quickly and reliably from one computing environment to another”.
What this means is that a docker container provides you with a package packed with your app, libraries, binaries, and settings so that it can independently run on any system isolated from the host OS. …
In this post, we’ll be focussing on how binary search trees can be implemented in Golang and why they’re preferred over linear data structures like arrays or linked lists.
While we are still thinking of why trees over arrays and lists, let’s have a basic overview of the major functionalities we will be implementing in this article
Trees are data structures used to represent a hierarchy. They are usually composed of multiple smaller trees. They represent a collection of nodes connected with edges and each node holds data of some type. …