Log parsing is a very basic problem for DevOps and SREs and we have a post on this regarding log parsing. You can find the post here In the earlier post, I have not used regex and have used only string manipulations to parse the logs. What is a regular expression? Regular expressions are a
Category: Programming
Design Pattern and its usefulness in programming systems.
This is a blog series is dedicated for Design Pattern and its usefulness in programming systems. We will discuss in detail about each and every design pattern. We will try to answer the most essential questions Why? How? Where? What. We will try to implement these design pattern in nodejs and golang. Writing a code is
Types of Linked Lists, Memory allocation, and cache locality
Linked lists are one of the most important data structures and these are the ones asked most in an interview. In this article, we are going to look into how types of linked lists. Data Structure A data structure is structuring and organizing data in a simple way so that data can be easily manipulated
Mutable vs Immutable datastructures: Pros and Cons
Mutable vs Immutable datastructures are part of most of the programming languages so it is important to know how they behave, their strong and weak points. This blog is divided into two parts and it will talk about difference between the two parts. First part majorly deals with the benefits and drawbacks of immutability. Lets
Monitoring Infrastructure System Design
In this article about monitoring infrastructure system design, we will talk about how you can get metrics from any running application and software and then ship it and show it in a more understandable way. We will try to use the open-source software as much as possible. When we talk about this, we are talking
Logging Infrastructure System Design.
Logging infrastructure system design is very important for each and every infrastructure as you need to look into logs. When you have a huge number of applications talking to each other there is an enormous amount of logs that they produce. Handling this amount of logs can be very costly and a headache. Let’s look
How to implement real-time tracking in applications like Swiggy, uber, and Dunzo?
How to implement real-time tracking in applications like Swiggy, uber, and Dunzo? When we talk about this question we have these aspects to handle. How to send the location How to process it and keep the data Displaying it Let’s start by answering these questions one by one. How to send the location? Sending location
Inorder traversal Python of a Binary Tree
Inorder traversal using python of a tree is as pretty easy if you know the concepts of dictionaries and classes. In this article, we will talk about the Inorder traversal Python of a Tree. Here we will be talking about binary trees. Tree and its inorder traversal using python. Binary tree is the tree where
Breadth-first search in a graph with python
In Implementing graph with python and how to traverse we learn how we can implement graph with python. In this article, we are going to talk about the breadth-first search and how we can achieve it using python. If you haven’t read about implementing a graph with python read it here. If you have read
Implementing graph with python and how to traverse.
When we talk about algorithms, graphs are one of the most important parts to know about. In this session, we will talk about graphs and implementing graph in python. What is a graph? A graph is a data structure consists of nodes and edges. It is nonlinear and can form very complex structures. If you