Search
Lessons (40)
- Resources, QoS and Scheduling Control
How the scheduler decides where pods run, and how requests, limits, affinity, taints and disruption budgets shape it …
- Bash Scripting & Scheduled Jobs
… Edit your schedule with crontab -e : text ┌───────── minute (0-59) │ ┌─────── hour (0-23) │ │ ┌───── day of month (1-31 …
- Kubernetes Cluster Architecture, Simply
… it stores the requested configuration and status. Scheduler Chooses a worker node for a new pod. Controllers Watch …
- L6 Production Debugging Casebook
… The logs look normal. What's likely happening: something that happens on a schedule . A sharp, daily time …
- Concurrency, Resilience & Distributed Workflows
… Idempotency is required for retryable HTTP requests, queue consumers, scheduled jobs and webhook handlers. Retries, exponential backoff and …
- StatefulSets, DaemonSets, Jobs and CronJobs
… a Job on a schedule yaml apiVersion: batch/v1 kind: CronJob metadata: name: nightly-report spec: schedule: "0 …
- Heaps & Priority Queues
… The engine behind "top K" problems, schedulers and Dijkstra. The big idea In a hospital emergency room, patients …
- Extending Kubernetes: CRDs, Operators and Admission
… object required: [schedule, target] properties: schedule: { type: string } target: { type: string } retention: type: integer minimum: 1 default: 7 …
- Jenkins: From Install to Your First Pipeline
… web UI, configuration, job scheduling, plugin host Agent (node) A machine (or container) that actually runs the build …
- Cost Optimization and the Well-Architected Framework
… 7 } }] } Databases - Use Aurora Serverless v2 or schedule stop for dev databases; delete old manual snapshots. - DynamoDB: pick …
- Monitoring, Logs & Backups
… process.env.GIT SHA }); } catch { res.status(503).json({ status: "db unreachable" }); } }); For scheduled jobs (backups, cron), use …
- Internals, Upgrades, Resilience and Interview Questions
… The scheduler binds each Pod to a node, and the kubelet starts the containers. 2. Liveness vs readiness …
- CI/CD and Reviewed Production Changes
… Configure the scheduler to handle 2 as a drift signal rather than an execution failure. Alert an owner …
- Containers at Scale: ECS Deep Dive and EKS
… inspect scheduling events, resource requests, node capacity, availability-zone constraints, and available subnet addresses. Requests guide placement; limits …
- Pods: Where Your App Actually Runs
… cpu: "250m" a quarter of one CPU core for scheduling memory: "256Mi" limits: memory: "512Mi" do not use …
- Stacks & Queues
… Two simple structures behind undo buttons, browser history, task scheduling and many interview problems. The big idea ![A …
- Serverless Architecture
… JSON.stringify(result) }; }; When to use it ✅ Spiky or unpredictable traffic, event processing (uploads, queues, webhooks), scheduled jobs …
- Offers and Salary Negotiation
… budget, certification fees Equity Number of options, vesting schedule, company stage Leave Annual, sick, public holidays Notice period …
- Go Concurrency: Goroutines, Channels and Context
… concurrency vs parallelism, goroutines and the GMP scheduler, WaitGroup, unbuffered and buffered channels, closing and ranging, select and …
- Event-Driven Patterns, Step Functions and Reliable Lambdas
… and filtering Routing events between services, SaaS and schedules Kinesis / MSK Ordered streams High-throughput, replayable streams Step …
- Data in Microservices: Sagas & the Outbox Pattern
… Release stock 3 Charge card Refund card 4 Schedule shipment (last step: nothing after it can fail) ⚠️ Compensation …
- Deployments: Keep Your App Running
… as a migration CronJob A Job on a schedule, such as a nightly report For a beginner web …
- Troubleshooting Playbook
… Status by status Pending The pod is not scheduled. describe shows why. Event message Cause Fix --- --- --- Insufficient cpu …
- Distributed Coordination: Consensus, Heartbeats and Gossip
… The story in one minute You have 3 scheduler machines (call them S1, S2, S3). One of them …
- Capacity Planning, SLOs and Error Budgets
… It is not permission to schedule 22 minutes of downtime. Lots of short, repeated failures use the same …
- Practical Project: Deploy a Real CRM App on EKS
… Worker nodes and scheduling The EKS control plane does not run your pods. A node group needs running …
- Linked Lists
… linked list + hash map), undo stacks, OS task scheduling. Technique 1: Traverse js function toArray(head) { const values …
- Production Capstone and Interview Practice
… Add scheduled drift detection with explicit handling of exit code 2. Step 5: rehearse recovery and cleanup Change …
- Backend Languages: Node.js, Go, Python & Rust
… thousands of goroutines"] S{{Go scheduler}} -- G1[goroutine] & G2[goroutine] & G3[goroutine] & G4[goroutine …] S -- C1[CPU core …
- Month 6: Reliability, Security, Fine-Tuning and Production (Weeks 21-24)
… experiment tracking and model registry with MLflow , data and model versioning, scheduled retraining, and data drift and model …
- DevOps and the Path from Code to Server
… need 6 Bash scripting & cron Automate deploys and scheduled jobs 7 Nginx & HTTPS Put a domain with a …
- Frontend Performance & Core Web Vitals
… tasks: yield to the browser between chunks ( await scheduler.yield() or setTimeout ). - Move heavy work off the main …
- Kafka for Backend Services
… RabbitMQ, SQS, BullMQ (Redis) Delayed or scheduled jobs, per-message priorities RabbitMQ, SQS, a job scheduler A synchronous …
- From Software Architect to AI Architect: The 24-Week Plan
… 5. Behind schedule? Cut scope, not weeks. Skip stretch tasks, never the weekend build. 6. Write it down …
- AWS Security Building Blocks
… Do not disable or schedule deletion of a shared encryption key just to clean up a tutorial. Further …
- Processes, Services & systemd
… journalctl --disk-usage how much space logs use Scheduled jobs with systemd timers Timers are systemd's modern …
- Structural Patterns: How to Connect Objects
… card, cart.total); const shipment = await this.shipping.schedule(cart.items, customer.address); await this.mailer.sendConfirmation(customer …
- CI/CD with GitHub Actions
… on: ) What starts it: push , pull request , a schedule, a manual button Job A group of steps that …
- Batch vs Stream and Data Modeling
… For reports, run scheduled jobs, and make copies on purpose ✅ Build reporting tables in batches (every night) or …
- Design a Social Media Feed
… Then schedule the fan-out as background work . 3. For normal users, a limited pool of workers adds …