Blog

Blog Post Image
Update environment variables to Rails on Kubernetes on runtime

We all love deploying to Kubernetes without a full deploy via rolling update. Rolling update is a great feature of Kubernetes. It makes sure requests are served even while new container is being deployed. This works great only when we have scaled the pods to at least 2. Kubernetes makes sure requests are still served through old pods until new pods are ready and switches the ingress to point new pods once it is ready.

Read More
Blog Post Image
Test effectively using Factory Bot

Before jumping headfirst into FactoryBot, we will see the need for such a library. If you want to test your application thoroughly, its mandatory to setup the system at right state and run the unit tests against that state. At times, setting up the test data is not that trivial for many reasons,

Read More
Blog Post Image
Responsive Web Design — device resolution and viewport width.

In short, the purpose of this article is to explain how RWD’s viewport width is calculated based on device screen resolution.

Read More
Blog Post Image
Delete duplicate records in PostgreSQL table without any unique column.

You want to delete the duplicates of a table which does not have any unique column like ID. Then this ctid is useful to delete duplicate even without the unique column. ctid is a system column on the PostgreSQL database.There are several system columns like this. Check this for more https://www.postgresql.org/docs/9.3/ddl-system-columns.html

Read More
Blog Post Image
Deploying python packages to lambda layers using Serverless Plugin

Packaging dependencies for lambda functions has two major points to be considered. One the libraries which has native os dependencies .Other one is deploying the libraries to lambda layers instead of packing it along with functions.

Read More
Blog Post Image
Better Dask Than Spark

I like to meddle with Data. I wanted to be a A.I guy when I was in college, but we were not allowed to take that elective, and A.I then was very different than its now. Back in 2004, 1 GB was considered a luxury, only very few carried laptops, desktops were computers then, and no iPhones then. People were having less devices that spied on them.

Read More
Blog Post Image
Vim — a Powerful Editor

If you want to see a demo of how all these editors would look like, take a look at this awesome History video from Thoughtbot.

Read More
Blog Post Image
Build Your Own Serverless Platform on Kubernetes with Knative

In a previous blog (Serverless on Kubernetes using Fission), we have explored serverless possibility on kubernetes using Fission and compared it with Kubeless.

Read More
Blog Post Image
Taming Kubernetes with Helm

What does it takes to deploy a well-sophisticated application to Kubernetes? Well, you have to write as many YAML files as resources that you want to create in Kubernetes cluster which will be harder to manage in a long run given that we need to maintain versions, config values and etc.,

Read More
Blog Post Image
Automated Pipelines using CircleCI

Before diving into CircleCI, lets see few facts about deployments,

Read More
Blog Post Image
Go Modules : Go Project set up without GOPATH

Go setup is not something new topic to discuss here. But after Go 1.12 release, I think the steps has to redefined as the project setup becomes simple and clear than before.

Read More
Blog Post Image
Sidekiq Batch Jobs and Synchronous workflow

I want to show a quick code snippet for the Amazing Batch processing feature in Sidekiq Pro. Here I want to show how to write a synchronous-looking code and still make use of Serial-Parallel-Serial workflow that Sidekiq Pro’s Batch provide.

Read More