← All tags

How does Gunicorn work?

· 8 min read

I've recently been playing with Gunicorn to serve an ML model (I know, I'll shift to Nx soon!) and wanted to understand what exactly it does for us and how it works under the hood. Here are my notes on its pre-fork worker model and why Nginx is needed in front of it.

#learnings #Python

Basics of Video Processing

· 5 min read

A broad overview of how video works, and what goes behind it. This post covers what are codecs, containers, and different terminologies that you will often hear in video processing related conversations.

#learnings

How JS code gets executed in the browser

· 6 min read

We write JS code, and then send it to the client's browser, where it is executed. To write better code, it's good to have an understanding of how the code we write is going to be executed. This post explores how Chrome's JS engine (V8) runs JS code efficiently.

#learnings #JavaScript

Understanding Web Performance Metrics

· 6 min read

As users, we know how valuable performance of a website is. But as developers, how do we approach performance of our webapp? In this post, let's explore the metrics used to quantify web performance, and how we can optimize those metrics and have a positive impact on the user experience.

#learnings #craft #Web Performance

Pagination & Infinite Scroll in React

· 8 min read

When you have to to present large number of data records in your webapp, you have two options - pagination or infinite scroll. In this post, let's see how to implement both these ways by building a sample app.

#learnings #React

Git Merge vs Git Rebase

· 7 min read

Some of the concepts in git are such that, however much you read about it, you won't fully grasp their mental models unless you actually are in a situation where you have to use them. This post is an attempt to explain rebase and merge workflows in git.

#learnings #Git

Getting Started with NextJS

· 7 min read

This post explores what NextJS is, how it differs from the likes of Gatsby and CRA, and how you can perform basic tasks like Navigation, Routing, Data Fetching in NextJS. We'll also take a look at the flexibility that Next provides while choosing to prerender or server side render pages.

#learnings #React

The Beginner's Guide to Spring Boot

· 20 min read

As a developer, it is important to sometimes step out of the comfort zone and try out new tools and frameworks, as frameworks are mere means to an end that solve some problems for us. I tried out a Spring Boot, a Web Framework in Java. This post will help you understand & get started with Spring Boot as a beginner.

#learnings #Spring Boot

A Closer Look at React's Reconciliation Algorithm

· 8 min read

Ever wondered what makes React so fast? When it was introduced, the killer feature of React was it's concept of "Virtual DOM", however it brought on it's own set of challenges, including how to efficiently update the DOM to be same as React's virtual DOM. Read on to find out how React solves this problem!

#learnings #React

Build your own Basic Web Server using Python

· 5 min read

This post explores what web servers are and how you can develop one by yourself. The best way to learn about a software system is to develop it from scratch, which is exactly what we will be doing in this post. Dive in to know more about web servers and how you can create a basic one yourself!

#tinkerings #learnings #Python

The Beginner’s Guide to get started with ReactJS

· 6 min read

In this post, we shall explore the ReactJS library. Starting with what ReactJS is and what is the purpose it serves, we shall also develop a basic component to display a tweet. We will then make the component reusable with the help of props, following the core philosophy of DRY (Don’t Repeat Yourself) with ReactJS.

#learnings #React
← Back to all posts