Search
Lessons (33)
- Zero-Downtime Deploys & Rollbacks
… folder; the current symlink is switched atomically, and rollback points it back to the previous release](/img/linux …
- Safe AWS Deployments with IaC and CI/CD
… They may share a repository or pipeline, but their risks and rollback behavior differ. Infrastructure as code records …
- Deploying & Operating Microservices
… v2 (ready)"] ✅ Instant switch and instant rollback. ❌ Double the infrastructure while both run; database changes must work with …
- Releases, Observability and Production Safety
… 4. Find and refund the duplicate payments (rollback doesn't undo payments already made). This only works because …
- Your Practical Kubernetes Workflow
… values-prod.yaml inspect generated YAML first helm rollback shop-api 1 -n production Use helm template or …
- Drift, Troubleshooting, and Disaster Recovery
… Restoring it is not an infrastructure rollback. Direct state pushing is dangerous; prefer backend recovery mechanisms and reviewed …
- Product-Scale Frontend Patterns
… It should have a known rollback path. mermaid sequenceDiagram participant U as User participant C as Client cache …
- Jenkins in Production: Deploys, Docker and Scaling
… a VPS, manual approval with input, parameters and rollbacks, shared libraries, agents on Docker and Kubernetes, Configuration as …
- GitOps, Progressive Delivery and Observability
… full audit trail, easy rollback ( git revert ), drift correction, and no cluster credentials in CI. yaml apiVersion: argoproj …
- CI/CD with GitHub Actions
… reviewer P[Deploy to production] A -- ❌ X[Stop] Rollbacks from CI Make it possible to deploy any earlier …
- SQL Language, Identifiers & Data Types
… Many systems call COMMIT and ROLLBACK transaction-control statements. Q7: Identity, sequence and UUID An identity/auto-increment …
- Observability and Incident Response
… a separate connection pool for reports, the missing index, an earlier alert, and a tested rollback. Don't …
- Containers at Scale: ECS Deep Dive and EKS
… true, "rollback": true } } } - The deployment circuit breaker stops and rolls back a rollout when new tasks keep failing …
- Putting AI Systems into Production
… Roll out changes gradually when possible and keep a rollback path. Monitor aggregate quality signals and operational errors …
- Docker in Production on a Single Server
… docker image prune -f clean up old images Rollback is the same command with the previous tag: ./deploy …
- Deployments: Keep Your App Running
… time. - Readiness decides when a new pod may receive traffic. - kubectl rollout undo is your first rollback command.
- CI/CD Fundamentals and Pipeline Design
… If your team does "merge week", you are not doing continuous integration. Deployment strategies Strategy How Rollback Cost …
- AWS Interview Questions: Clear Answers
… Use the approved rollback or mitigation, then verify customer-visible behavior. Low CPU does not rule out database …
- Practical Project: Deploy a Real CRM App on EKS
… Manual rollback is always one command: bash kubectl -n dev rollout history deployment/crm-core kubectl -n dev …
- Kafka for Backend Services
… skip safely await client.query("ROLLBACK"); return; } await client.query( "INSERT INTO payments (order id, amount cents, status …
- Developer Learning Plan and Document-Assistant Capstone
… assistant capstone Document quality, latency, failure behavior, and rollback Capstone: an assistant for your project's documentation Start …
- DevOps and the Path from Code to Server
… the same image everywhere 11 Zero-downtime deploys & rollbacks Release without errors and undo in seconds 12 Monitoring …
- Internals, Upgrades, Resilience and Interview Questions
… Test in a staging cluster first and have a rollback plan. bash kubectl cordon node-1 kubectl drain …
- Resilience, Disaster Recovery and Multi-Region Design
… task Crash, bad deploy Auto Scaling, health checks, rollback Availability Zone Power or network loss in one data …
- Database Indexing & Transactions
… call or user input inside one. - Always handle rollback on errors (most ORMs do this for you). - Lock …
- CloudWatch: Know What Your App Is Doing
… slow/error paths. 4. Use the approved mitigation: rollback or restore capacity. 5. Verify a real order path …
- Behavioral Patterns II: Chain, Template, Iterator, Mediator, Memento, Visitor
… Google Docs, Redux DevTools time travel, database transactions (rollback). 💡 Memento vs Command for undo: Memento stores snapshots (simple …
- Month 5: AI Agents and Tool Orchestration (Weeks 17-20)
… delete data Always needs human approval - Idempotency and rollback : tools that change data take an idempotency key and …
- Indexes, EXPLAIN & Query Plans
… statement. For UPDATE / DELETE , wrap it in BEGIN; ... ROLLBACK; , and run it on production-sized data (a staging …
- Linux Troubleshooting Playbook & Interview Questions
… and new code both work during the switch. Rollback means pointing back to the previous release or slot …
- L6 Production Debugging Casebook
… 5. Safe mitigation: what reversible step (a limit, rollback, isolation, or shedding load) reduces harm now? 6. Proof …
- A WhatsApp OTP Is Only Single Use If You Make It So
… RETURNING id; -- 0 rows → ROLLBACK INSERT INTO sessions (user id, ...) VALUES (...); COMMIT; Now there are only two possible …
- Go Fundamentals
… Open → defer Close , Lock → defer Unlock , Begin → defer Rollback . panic and recover A panic stops normal execution and …