skip to content
Ivan's wiki
Site Tools
Search
Tools
Show pagesource
Backlinks
Recent Changes
Media Manager
Sitemap
>
Recent Changes
Media Manager
Sitemap
swe:production
This page is read only. You can view the source, but not change it.
# Production **Production** is the live environment serving real users, distinguished from development (a developer's local machine), staging (a production-like test environment), and CI (automated build). Production has real user data, unpredictable load patterns, and consequences when something breaks. Staging does not perfectly predict production because configuration, data, load, and OS versions differ. A bug in development costs nothing; a bug in production costs user trust, data integrity, or revenue. Changes to production must go through a [CI/CD](/swe/ci-cd) pipeline, not manual deployments. Direct database access should be restricted and logged. [Feature flags](/swe/feature-flag) and [canary releases](/swe/canary-release) limit blast radius from bad deployments. [DevOps](/swe/devops) practices like infrastructure as code reduce environment discrepancies that cause "works on my machine" failures. This flow ensures changes are tested before production and can be rolled back instantly if needed. ``` Development (safe to break) ↓ (commit) CI (automated lint, build, test) ↓ (all checks pass) Staging (matches production, safe testing) ↓ (approved) Production (behind feature flags, canary to 5%, then 100%) ↓ (if broken) Rollback (instant, fewest users affected) ```
Page Tools
Show pagesource
Backlinks
Back to top