Log parsing in python using regular expressions.Log parsing in python using regular expressions.

Log parsing in python using regular expressions.


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

Mutable vs Immutable datastructures

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

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.


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

Inorder traversal Python of a Tree

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

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

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