Hero Image

Why is goroutine being called a “lightweight” thread?

I was asked this question in one of my recent software engineer job interviews, and I believe I didn’t answer it as well as I would have liked, so I wanted to write this blog to re-answer it and perhaps aid someone else who is also curious about the solution.

Hero Image

Why is Containerization Taking Over?

An important sign of Kubernetes momentum is the continuing shift to production, growing from 59% in the 2020 report to 65% this year. Companies with more than 500 developers were more likely to be running all or most containerized workloads in production (78%). In our first State of Kubernetes report in 2018, less than a third (30%) reported running Kubernetes in production.

Hero Image

Learn AWS IAM - IAM Users, Groups, Credentials

What is AWS IAM? In AWS, Identity and Access Management (IAM) is one of the AWS services and it is used to help users securely control access to AWS resources. Everything you do in AWS needs permission, which means that you will eventually encounter or use IAM features when building your own AWS services. IAM features include determining who is eligible to sign in, who or what has access to resources, and so on.

Hero Image

AWS SNS: Mock sns.publish with Jest

Outline There are a lot of jest mock examples out there, but never a clear example about Jest with AWS services (in this case, SNS). Today, in this article I will show you how to mock sns.publish with Jest and with all the code layed out and the logic explained. Understand what you’re testing How to write mock for SNS using Jest Closer look at sns.publish.mock 1. Understand what you’re testing Let’s take a look at the Node.

Hero Image

Step-by-Step Guide: How to create a new branch for Git repository

We can push our new branch to the repository with the git push command. But here we also want to set the upstream branch. Every time a new branch is created, we need to set up an upstream branch so the new branch knows which remote repository to use every time it synchronizes its commit history. This step can be achieved with the –set-upstream command.