Search
Lessons (30)
- State, Remote Backends, and Locking
Share state through S3, enable native locking, migrate safely, and protect recovery data. Why state exists A resource …
- Zero-Downtime Deploys & Rollbacks
… So every migration must work with old and new code at once. Use expand → migrate → contract : Step Example …
- Design System Operations
… Release additively first; mark old APIs deprecated with a migration note. 4. Migrate consumers incrementally and measure adoption …
- Python Web APIs: FastAPI and Django
… FastAPI with Pydantic models, dependencies and async endpoints, and Django with its ORM, migrations, admin and Django REST …
- StatefulSets, DaemonSets, Jobs and CronJobs
… registry.example.com/shop-api:1.9.0 command: ["node", "migrate.js"] For parallel work, set completions (how …
- Docker in Production on a Single Server
… running or roll back to it. Database migrations Run migrations as a separate one-off step before switching …
- Choosing an Architecture
… new features and migrated routes go to the new system until the old one can be switched off …
- Imports, Moved Blocks, and Safe Refactoring
… Keep migration blocks long enough for all consumers to upgrade. Removing them too early can break upgrades from …
- Releases, Observability and Production Safety
… 2. Test the migration against both versions: old code on new schema, new code on old schema. 3 …
- Drift, Troubleshooting, and Disaster Recovery
… Database backups, restore drills, and application migration plans remain necessary. Exercise: a CI apply times out after creating …
- Safe AWS Deployments with IaC and CI/CD
… Use backward-compatible expand/migrate/contract changes when appropriate. Infrastructure rollback can fail or delete valuable resources; review …
- Layered (N-Tier) Architecture
… discount codes"] -- P[presentation/] F -- B[business/] F -- D[persistence/] F -- M[migrations/] Vertical slice architecture (a later …
- Deploying & Operating Microservices
… new field/column,<br/ write both"] -- E2["2️⃣ Migrate<br/ consumers move to the new one"] -- E3["3 …
- Follow-Ups, Rejections and Your First 90 Days
… I enjoyed hearing about the migration to event-driven order processing; it's very close to the outbox …
- Reusable Modules and Clear Interfaces
… Upgrading a module can change resource addresses and replacement behavior, so review the upgrade plan and migration guidance …
- Deployments: Keep Your App Running
… Work that should finish once, such as a migration CronJob A Job on a schedule, such as a …
- Dependencies, Data Sources, and Resource Lifecycle
… not guarantee application readiness or a safe database migration. Further reading: [Lifecycle reference](https://developer.hashicorp.com/terraform …
- L6 Production Debugging Casebook
… 1. Add new column as nullable (or with a compatible default), using a migration that's safe to …
- Comments & Formatting
… remove after v2 migration, see TICKET-481 Public API docs JSDoc on exported functions Clarify a regex or …
- 10,000 Users Do Not Need 10,000 Database Connections
… text 250 total - 50 kept free for admins, migrations and workers = 200 for the app ÷ 20 instances (the …
- Linux Troubleshooting Playbook & Interview Questions
… Database changes follow expand → migrate → contract, so old and new code both work during the switch. Rollback means …
- Resilience, Disaster Recovery and Multi-Region Design
… returning to the primary region is another migration. Recovery drill: prove a 30-minute target Suppose the shop …
- Practical Project: Deploy a Real CRM App on EKS
… Keep temporarily Only as a rollback path during migration Migration recommendation: keep the existing EC2 frontend running. Deploy …
- TypeScript in Practice
… the checker off" do anything (unsafe) Almost never; migration only unknown "Some value, not checked yet" nothing until …
- Cross-Service Data: How to Join Without a Database JOIN
… A shared schema becomes a distributed monolith. Do not let every service query every database Database credentials, migrations …
- AWS Databases: Choose the Right One
… Include workers, migrations, administrative sessions, and failover capacity in the budget. Set bounded pools and timeouts rather than …
- Real-Time, Pub/Sub, Webhooks and CDC
… Include the schema version , and give listeners a migration window (e.g. 3 months) before removing anything. - Keep …
- AWS Interview Questions: Clear Answers
… Compare the new artifact, settings, permissions, and migrations. 5. Use the approved rollback or mitigation, then verify customer …
- Scaling, Load Balancing & Rate Limiting
… Larger instances receive more traffic Mixed capacity during migration Least connections Choose the instance with fewest active connections …
- Kafka for Backend Services
… 3 , or a new topic shop.orders.v3 ) alongside the old one, migrate consumers, then retire the old …