Search
Lessons (40)
- Trees & Binary Search Trees
… empty tree return 1 + Math.max(height(node.left), height(node.right)); // combine } // Count nodes const count = (node …
- Kubernetes Cluster Architecture, Simply
… choose a node for each pod Node- Node: pull image and start container Node- API: report pod status …
- Resources, QoS and Scheduling Control
… which nodes CAN run it?] F -- S[Score: which node is BEST?] S -- B[Bind pod to node …
- Troubleshooting Playbook
… MemoryPressure, DiskPressure, PIDPressure kubectl top nodes NotReady nodes usually mean kubelet or container runtime trouble, full disk, or …
- Linked Lists
A chain of nodes where each node points to the next. Learn how they differ from arrays, and …
- Graphs: BFS & DFS
… node → nodes that depend on it const visited = new Set(), order = []; const visit = (node) = { if (visited.has(node …
- Backend Languages: Node.js, Go, Python & Rust
… no garbage collector, no null pointer crashes. Popular frameworks Language Minimal Batteries included --- --- --- Node.js Express, Fastify, Hono …
- Docker in Production on a Single Server
… Build ---- FROM node:22-alpine AS build WORKDIR /app COPY --from=deps /app/node modules ./node modules COPY …
- Node.js and Express
What Node.js is and how it serves thousands of connections on one thread, then Express step by …
- Async JavaScript: Promises, async/await and Node's Event Loop
… controller.signal }); Node.js: what runs in which order Node's event loop (built on libuv ) runs in …
- Internals, Upgrades, Resilience and Interview Questions
… Taints vs node affinity? Taints repel pods from nodes unless tolerated; affinity attracts pods to nodes. Dedicated node …
- Practical Project: Deploy a Real CRM App on EKS
… A node group needs running EC2 capacity . bash aws eks describe-nodegroup \ --cluster-name "$CLUSTER" --nodegroup-name myapp …
- StatefulSets, DaemonSets, Jobs and CronJobs
… one pod per node Use a DaemonSet for node-level agents: log shippers, metrics exporters, CNI plugins, security …
- Deploy a Node.js App to a VPS, Step by Step
… Install Node.js, Git and Nginx Install Node system-wide from NodeSource, so the path ( /usr/bin/node …
- Pods: Where Your App Actually Runs
… Kubernetes puts them on the same node and stops them together. Use a second container only when it …
- Docker & Containers
… small and secure ---- FROM node:22-alpine WORKDIR /app ENV NODE ENV=production COPY package.json package-lock …
- Processes, Services & systemd
… Each one has a PID (process ID). bash ps aux every process ps aux grep node find Node …
- Cluster Networking, DNS and NetworkPolicies
… Agents on a node can reach all pods on that node. A CNI plugin (Calico, Cilium, AWS VPC …
- Containers at Scale: ECS Deep Dive and EKS
… API server, etcd] end subgraph Your account MNG[Managed node groups] KP[Karpenter nodes] FG[Fargate profiles] end …
- GitOps, Progressive Delivery and Observability
… metrics, logs, traces Signal Common tools --- --- Metrics Prometheus, kube-state-metrics, node-exporter, Grafana Logs Fluent Bit/Vector …
- Month 5: AI Agents and Tool Orchestration (Weeks 17-20)
… a planner node writes a step list, executor nodes do each step, and a re-planner adjusts after …
- Health Checks and Scaling
… A cluster autoscaler (or Karpenter on AWS) can add nodes if those pods have nowhere to run. Remember …
- Jenkins: From Install to Your First Pipeline
… not found Node.js isn't installed on the agent Use agent { docker { image 'node:22' } } or install …
- SQL vs NoSQL Databases
… scale OUT"] H1[Node 1] H2[Node 2] H3[Node 3] H4["+ Node 4"] end NoSQL databases like …
- Observability: Logs, Metrics & Traces
… js) import { NodeSDK } from "@opentelemetry/sdk-node"; import { getNodeAutoInstrumentations } from "@opentelemetry/auto-instrumentations-node"; new NodeSDK({ instrumentations: [getNodeAutoInstrumentations …
- Jenkins in Production: Deploys, Docker and Scaling
… node:22-alpine command: ["sleep"] args: ["infinity"] ''' } } stages { stage('Test') { steps { container('node') { sh 'npm ci && npm test …
- Behavioral Patterns II: Chain, Template, Iterator, Mediator, Memento, Visitor
… right)} , }; const walk = (visitor) = function visit(node) { return visitor[node.type](node, visit); }; const expression = add(num(2 …
- CI/CD with GitHub Actions
… actions/setup-node@v4 with: node-version: 22 cache: npm reuse downloaded packages between runs - run: npm ci …
- Choosing a Programming Language
… Threads + async (Tokio), no data races Startup / deploy node + node modules Interpreter + virtualenv One static binary One static …
- Running Kafka in Production: The DevOps View
… Each node is both broker and controller ("combined mode"). yaml docker-compose.yml x-kafka-env: &kafka-env …
- Nginx Reverse Proxy & HTTPS
… TLS with automatic certificate renewal Handle certificates in Node Several domains on one server (one IP, many sites …
- React Hooks in Practice
… memory ( useState ), side effects ( useEffect ), references to DOM nodes ( useRef ) and more. They let small functions do what …
- Referrals, Cold Outreach and Tracking Applications
… I have 3 years with Node.js and PostgreSQL and built a payment service handling 2M requests/day …
- Bash Scripting & Scheduled Jobs
… run the right side only if the left side succeeds / fails command -v node /dev/null { echo "node …
- Code Profiling
… isolated workload, Node can write a CPU profile that Chrome DevTools can open: bash node --cpu-prof dist …
- Services and Ingress: Let Traffic Find Your App
… balancer Directly expose one service NodePort Opens a port on each node Learning or special setups Start with …
- Heaps & Priority Queues
… No node objects needed: For the node at index i Formula --- --- Parent Math.floor((i - 1) / 2) Left …
- Monitoring, Logs & Backups
… firewall it, or bind to localhost) sudo apt install -y prometheus-node-exporter curl -s http://127.0 …
- DevOps and the Path from Code to Server
… almost every cloud server, Docker container and Kubernetes node is Linux underneath. Even if you develop on Windows …
- Linux Troubleshooting Playbook & Interview Questions
… find the memory leak (heap snapshots), cap Node's heap ( node --max-old-space-size=768 ), add swap …