Open in app

Sign In

Write

Sign In

Akhilesh Mahajan
Akhilesh Mahajan

9 Followers

Home

Lists

About

1 day ago

Go Design Pattern — Strategy Method

This article will discuss the Strategy Design Pattern Method ( a Behavioral Design pattern). What happens in normal Inheritance is that a method defined by the base class can be used in its class (either the same logic or overrides the logic). But what if a method defined by one…

2 min read

Go Design Pattern — Strategy Method
Go Design Pattern — Strategy Method

2 min read


3 days ago

Go Design Pattern — Builder Method

This article will discuss the Builder Method (a creational design pattern). The Builder Method is a creational design pattern that allows us to create complex objects step-wise step. Suppose, we want to build a house. A normal house usually has walls, a roof, a floor, windows, doors (and many more…

3 min read

3 min read


Sep 13

Go Design Pattern — Factory Method

In this article, we will talk about the Factory Method (A Type of Creational Design Pattern). Factory Method This is a kind of design pattern that provides an interface for creating objects in the superclass but allows the subclass to alter the type of object created. In simple words, whenever…

3 min read

Creational Design Pattern — Factory Method
Creational Design Pattern — Factory Method

3 min read


Sep 12

Go Design Pattern — SOLID Principles

In software Engineering, it’s important to have a set of design principles to guide you in creating high-quality, maintainable, and scalable code. One such set of principles is the SOLID. SSingle Responsibility Principle This principle states that a struct should have only one reason to change, meaning that a struct…

Golang

4 min read

SOLID Principles — Go Design pattern
SOLID Principles — Go Design pattern
Golang

4 min read


Aug 20

GoLang — Optimisations

Go- Arrays: When iterating over an array it’s faster to pass a pointer to that array to the for loop. This prevents the loop from copying the whole array which is beneficial for both CPU and memory usage. Reference: https://medium.com/@haaawk/i-thought-i-understood-how-iteration-over-an-array-works-but-apparently-not-in-golang-441a7abd6540 If we want to modify the array while we’re iterating over it, we need to either give a for loop a pointer to that array or use the array index operator directly.

Golang

1 min read

Golang

1 min read


Jul 18

Apache Kafka —How it handles requests.

In this Part-2 we will understand and deep dive into how Kafka handles requests. WHATS INSIDE KAFKA CLUSTER The Kafka cluster mainly consists of a: A Control Plane: Responsible to handle all the metadata of Kafka Clusters A Data Plane: Responsible to hold the actual data (Client Request Processing). HOW…

4 min read

Apache Kafka —How it handles requests.
Apache Kafka —How it handles requests.

4 min read


Jul 17

Apache Kafka — What it is and How it Works.

In this blog series will try to understand the design and working of Kafka. This is Part-1 where we will see what is kafka, how it works and what are its components. WHAT IS KAFKA Apache Kafka, which is an open-source distributed event streaming platform. …

3 min read

Kafka — A streaming application (Part-1)
Kafka — A streaming application (Part-1)

3 min read


Mar 16

Setting Up MonoRepo Using Bazel (Part-2 Python)

In Part-1, I have explained how we can set up Monorepo using Bazel in Go-lang. Now, In this part, I will explain the same in Python. Step 1: Install Bazel Before we can begin setting up our monorepo, we need to make sure that Bazel is installed on our system. Bazel can be installed…

Monorepo

4 min read

Setting Up MonoRepo Using Bazel (Part-2 Python)
Setting Up MonoRepo Using Bazel (Part-2 Python)
Monorepo

4 min read


Feb 6

Setting Up MonoRepo Using Bazel (Part-1)

About MonoRepo: A monorepo is a version control repository that contains multiple projects and libraries, rather than having separate repositories for each project. This approach allows for better collaboration, easier code sharing, and streamlined dependency management. About Bazel: Bazel is an open-source build and test tool developed by Google that…

4 min read

Setting Up MonoRepo Using Bazel (Part-1 Go-Lang)
Setting Up MonoRepo Using Bazel (Part-1 Go-Lang)

4 min read

Akhilesh Mahajan

Akhilesh Mahajan

9 Followers

Software Engineer - Airtel Digital

Following
  • Alex Kivaiko

    Alex Kivaiko

  • Deepak Sharma

    Deepak Sharma

  • Shayne Meyer

    Shayne Meyer

  • Vishal Jangid

    Vishal Jangid

  • Ashwathmahajan

    Ashwathmahajan

See all (6)

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech

Teams