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

How containers isolate processes using Linux namespaces?

How containers isolate processes using Linux namespaces?


Containers work on the principle of isolating one process running in the container from the process running on hosts or any other container. Let us see how containers isolate processes using Linux namespaces? This is what provide containers to have a fresh runtime for any application irrespective of what other process are running on that

Monitor your unix system resources using HTOP.

What is blackbox monitoring? Automating with bash script


Monitoring is very important when you want your systems to work properly. Monitoring helps you identify the issues while they are happening or before them. So it is very important to implement your monitoring properly. Let’s see what is black box monitoring. Now when you see any issue how you should approach your debugging. First

Log parsing in python.

Log parsing in python. Read how you can do it.


While working with Nginx or any other server there is sometimes the need to parse the logs and see the consolidated view. This view can help you with identifying the things that are wrong like too many 5xx. Let’s have a look at log parsing in python. In this article, we will take nginx default

How to start python: Basic Tooling in Python

How to start python: Basic Tooling in Python


When we are talking about how to start python we must understand the basic tools that will help you in writing better code debugging and dependency management. How to start python projects. To start any project it is always recommended to create the project in its own environment. This means that anything that is installed

Docker Networking

How docker networking works.


In recent articles, we talked about containers a lot like the below articles. In this article also we are going to continue the same trend and talk about how docker networking works. To understand very basic docker networking we need some knowledge beforehand. Lets read about namespaces in linux, veth pair and bridge. Namespaces: Namespaces

Docker components and how they interact.

Docker components and how they interact.


When we talk about containers a big name that comes into picture is docker. Docker is a leading container platform and provides all the functionalities required in the life cycle of a container. In this article, we will talk about docker components and how they work together. Docker consists of the following components. Docker Daemon:

life cycle of a container

The life cycle of a container


If you working in a DevOps or SRE environment, it is very rare to find a person who has not heard of the name containers. In this article, we talk about the life cycle of a container. For this purpose, we will use docker for a container runtime. Let’s have a look at the docker

sub-languages of sql

Different sub-languages of SQL.


When we talk about databases. One of the biggest types that exists is SQL. SQL or Structured Query Language is used where you have to keep data that is relational in nature. Mysql, Postgres, DB2 are the different software that implements it. SQL comprises of many sub-languages that provide different capabilities to SQL. The capabilities