DNS, or Domain Name System, is a crucial component of the internet, acting as the phonebook of the internet. It translates human-friendly domain names (like “google.com”) into IP addresses that computers use…
All things about k8s
K8s Architecture (image source: https://kubernetes.io/docs/concepts/architecture/) Kubernetes (K8s) architecture is designed to be distributed and modular, consisting of multiple components that work together to manage containerized applications across a cluster of nodes. Here’s…
All things about Istio
Istio is an open-source service mesh that provides a way to control how microservices share data and resources. It’s designed to handle the complexity of network management inherent in microservice architectures, providing…
Context-switching/cgroup in Linux
context-switching Context switching in Linux refers to the process of storing and restoring the execution context or state of a CPU so that it can resume execution of a different process. control-groups…
System Design – A Distributed High-throughput Counter
Designing a high-throughput, scalable counter system with a focus on write-heavy operations involves several key components and considerations. Now, the system needs to handle a large volume of write operations (1M writes/sec)…
System Design for Task Scheduling with Dependencies
Overview Designing a task scheduler involves handling tasks with varying frequencies and dependencies. The system must ensure tasks are executed on schedule, dependencies are respected, and long-running tasks are managed effectively. High-Level…
Linux Commands Examples
nslookup nslookup is a cross-platform command-line tool for querying the Domain Name System (DNS). Purpose Command Basic DNS Lookup nslookup example.com Find Mail Servers for a Domain nslookup -type=mx example.com Query Specific…
How SSH works
SSH (Secure Shell) is a protocol used for securely accessing one computer from another over an insecure network. It provides strong authentication and encrypted data communications between two computers connecting over an…
How does mount works
Mount The mount command in Unix and Unix-like operating systems is used to attach a filesystem (from a disk, partition, or storage device) to the file system hierarchy at a specific point,…
How traceroute works
traceroute is a network diagnostic tool used to track the path that an IP packet takes to reach a destination. It provides information about each point (or “hop”) along the route, including…