There is a very basic tool that everyone uses that works with servers and infrastructure. It is ssh, ssh uses both symmetric and public-key cryptography to keep the data safe in transit. In this article, we are going to talk about the math behind public-key cryptography. Public-key cryptography depends on the prime numbers and large
Tag: linux
How exactly kube-proxy works: Basics on Kubernetes.
In recent times Kubernetes is becoming a de facto tool to be used and it adds a lot of value to your profile if you have a good understanding of it. Unfortunately, the way clouds have abstracted everything from users, there are not many people aware of how this actually works behind the scene and
What are targets in Systemd? How is it mapped to runlevels in System V?
We have talked about runlevels in Linux in our old articles and since runlevels were kind of concepts in init systems. We are going to revisit the concept of targets in systemd which are used in most of the Linux distribution. If you not read the runlevel article you can read it on below link.
Logrotate: How and why you should use it properly.
In my on-call duty for the last few years. One thing that comes, again and again, is log cleanup. This happens because of the wrong logrotate or no use of this at all. When we talk about disk cleanup, this is kind of toil to me. To understand what is toil you can look at
DevOps and SRE interview: What you need to learn in Linux?
When we talk about DevOps and system admins, Linux is the first thing that comes to mind. But Linux itself is so vast that it’s really confusing what all you should be aware of if you are planning to go for an interview. In this article, we will try to define what are the most
Questions and answers related to SRE and DevOps preparation
In recent times, I have talked to a lot of people and have seen a few questions again and again on how to progress in this field. In this article, we are going to see these questions and what I think their answers are. These are my personal views. What should I learn to shift
Swap memory and how it affects your latencies.
When you work with Linux and memory you must have heard the term swap memory. In this article, we are going to see how swap memory affects the latencies of your system, and should you keep them or not? What is a swap memory? It is a memory space that is made available separately to
What is a page fault and why you should be aware of it?
The operating system has many mechanisms to operate on memory and using it in a proper way, one of them is page faults. In this article, we will look at what is a page fault and you should keep a track of it properly. What is a page fault? A page fault is an exception
Why you need DHCP (Dynamic Host Configuration Protocol) and how it works
The first draft of DHCP was written in October 1993. Lets time travel and go to a time where there is no DHCP. Lets have a look at the why you need DHCP. It is very important as it provide the machines their identity to be on the network grid. DHCPD is a server for
Redis bgsave taking a lot of memory. Here is the reason.
In recent times, I was working with Redis clusters which have very high throughput. While doing this we came across a problem which was Redis bgsave was taking a lot of memory sometimes almost as the same memory as the data present in the memory. In this small writeup, we will see why this happened.