Zeroing in on Serverless

Serverless computing is a cloud computing execution model in which the cloud provider allocates machine resources on demand, taking care of the servers on behalf of their customers (Wikipedia). Serverless should not be confused with a common misinterpretation “lack of a server”. Serverless is a way of deploying and running cloud applications where the cloud service provider takes the responsibility of creating VMs, CI/CD, and even running servers, etc., from the user and does not “reserve” resources beforehand. There are multiple components of serverless computing, this story talks about one of the core components — Functions.

Function - The cornerstone of every modular and beautifully designed piece of software.

The era of cloud-native…

As a person who actively maintains multiple personal projects deployed on multiple servers, it became a necessity for me to find a cheap and reliable resources.

About a year and a half back, I thought of making my portfolio website. Within a couple of days I figured that hosting a website is an expensive deal! Especially if one wants to get out of Apache based shared Linux hosting that can either run static websites, or is limited to using a language like PHP. While PHP is a great language, it isn’t my choice for web development. Hence I had to…

Smartly read inputs from standard input

Reading inputs from command line is probably the first task competitive coders do as they start to solve complex problems. While numerous languages are used by thousands of coders everyday, some emerge out as the popular ones; hello C++! One of the most powerful tools to write high performance programs. But… with great power, comes responsibility of managing memory *manually (Let’s not get into modern C++). While competitive coders do not care about (much) about de-allocating memory on an online judge, it is a pretty critical task for production systems to clean up and reclaim memory. Let’s bring our language…

After writing Go for about 8 months now, one of the things that kept bamboozling me was the presence of struct tags. These struct tags magically serialize/deserialize data in the tags specified to and from a Go struct. But as they say, there’s no magic! This actually is a really powerful language feature of Go.

Growing as a Go developer: From dark age to advance language features

When I first wrote my first web server in Go, the struct tags were the (only? no) way to go.
A typical entity is represented like this:

type Todo struct {
ID int `json:"id"`
Content string `json:"content"`
Timestamp int64 `json:"ts"`

and it did get…

Gaurav Saini

SMTS • Web Services • Rust/Go/Py/JS • Cloud & Distributed Systems

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