iwantcoding.com
🔥 Daily 👥 Rooms 🏆 Top Log in Sign up

11.2 Principles of DevOps

DevOps unifies development and operations through shared responsibility, automation, and rapid feedback. The CALMS model - Culture, Automation, Lean, Measurement, Sharing - is the textbook frame.

11.2 The Principles of DevOps

The CALMS frame

LetterMeaningExample practice
CCultureShared ownership; blameless post-mortems
AAutomationEverything from build to deploy
LLeanReduce batch size; flow; eliminate waste
MMeasurementLead time, deploy freq, MTTR, CFR
SSharingTools, knowledge, runbooks across teams

DORA's four key metrics

MetricElite team baseline
Deployment frequencyMany per day
Lead time for changesLess than one day
Change failure rate (CFR)Less than 15 %
Time to restore serviceLess than 1 hour

You build it, you run it

Dev teams operate what they ship. Pager goes to the team that wrote it. This aligns incentives - poor code wakes the author up.

Platform engineering shape

LayerProviderConsumer
Golden pathsPlatform teamProduct teams
CI/CD templatePlatform teamProduct teams
ObservabilityPlatform teamProduct teams
Cost guardrailsPlatform teamProduct teams

Worked example - bank from quarterly to weekly deploys

ItemBeforeAfter
CadenceQuarterly batchedWeekly production deploys
BranchingLong-lived featureTrunk-based + flags
TestingManual QA windowAutomated; staging in prod-like env
CFR18 %6 %
On-callOps team onlyBalanced across product teams

Common pitfalls

PitfallWhy it backfires
DevOps as a teamShould be a practice, not a silo
Automation without observabilityFaster but blind
DORA scores as targetsGoodhart's law; gamed
No platform teamEvery product reinvents pipelines
Mentor’s tip: CALMS + DORA + platform thinking. You build it, you run it. Treat the internal platform as a product. DORA metrics inform; they are not targets.

Discussion

Loading…