4.5.2 · HinglishSoftware Engineering

Agile — Scrum (sprints, roles, ceremonies), Kanban

2,356 words11 min readRead in English

4.5.2 · Coding › Software Engineering


Agile exist KYU karta hai?

Agile Manifesto (2001) ki 4 values — har ek "LEFT prefer karo RIGHT ke upar", na ki "right ignore karo":

  1. Individuals and interactions over processes and tools
  2. Working software over comprehensive documentation
  3. Customer collaboration over contract negotiation
  4. Responding to change over following a plan

Scrum — the framework

3 Roles KYA hain?

3 Artifacts KYA hain?

Sprint kaise chalta hai? (5 ceremonies)

Figure — Agile — Scrum (sprints, roles, ceremonies), Kanban

Velocity & Burndown — Scrum mein sirf itna math hai

Maano = sprint mein complete hue points. Last sprints mein:


Kanban — the flow alternative


Scrum vs Kanban — 80/20 contrast

Scrum Kanban
Cadence Fixed sprints (time-boxed) Continuous flow
Kaam limit kaise Sprint backlog (per sprint) WIP limit (per column)
Roles PO, SM, Devs Koi prescribed nahi
Mid-cycle change Sprint mein avoid kiya jaata hai Kabhi bhi
Key metric Velocity Lead/cycle time (Little's Law)
Best kab Kaam batches mein plannable ho Kaam unpredictably aaye (jaise support)

Recall Feynman: 12-saal ke bachche ko explain karo

Imagine karo tum ek party ke liye cookies bake kar rahe ho lekin exactly nahi pata log kaunsa flavor pasand karenge. Scrum way: har 2 hafte tum ek choti batch bake karte ho, apne doston ke paas laate ho, aur poochte ho "yummy?" Phir next batch adjust karte ho. PO decide karta hai pehle kaunsa flavor try karna hai, Scrum Master ensure karta hai oven kaam kare aur koi distract na kare, aur tum (the bakers) decide karte ho kaise banana hai. Kanban way: tumhare paas ek board hai — "to mix", "to bake", "to taste". Ek rule hai ki oven mein sirf 2 trays ho sakti hain ek waqt mein. Toh tum kabhi 10 trays start karke adhi-adhi nahi chhodte. Ek waqt mein kam trays = har cookie plate tak jaldi pahunchti hai. Wahi last baat Little's Law hai: agar 5 cookies per minute finish ho rahi hain aur 15 kitchen mein hain, toh har cookie 3 minute wait karti hai.


Flashcards

Agile fundamentally kis problem se ladhta hai?
Large batches of unverified work — galat hone ki cost badhti hai jitna late discover karo.
3 Scrum roles list karo aur har ek kya own karta hai.
Product Owner (what/why, backlog order karta hai); Scrum Master (process, blockers hatata hai); Developers (how it's built, self-organize karte hain).
Sprint Review aur Sprint Retrospective mein difference?
Review product inspect karta hai (stakeholders ko demo); Retrospective process inspect karta hai (sirf team ki internal reflection).
5 Scrum ceremonies in order batao.
Sprint Planning, Daily Scrum (standup), the Sprint, Sprint Review, Sprint Retrospective.
3 Scrum artifacts kya hain?
Product Backlog, Sprint Backlog, Increment (Definition of Done meet karta hua).
Velocity define karo aur isse forecast kaise karte hain.
Average story points completed per sprint, ; sprints needed backlog ke liye.
Velocity ko performance target KYU nahi banana chahiye?
Ye team ke apne scale ke relative hai; targeting karne se point inflation hoti hai. Ye planning tool hai, KPI nahi, aur teams compare nahi ho sakti.
Little's Law state karo aur uske teen variables batao.
; =WIP (items in system), =throughput, =average lead/cycle time.
WIP limits delivery faster kyun banate hain?
Little's Law se: constant throughput par WIP lower karne se lead time cut hoti hai — kam simultaneous items, kam waiting.
Kanban vs Scrum cadence aur key metric?
Scrum = fixed sprints, metric velocity. Kanban = continuous flow with WIP limits, metric lead/cycle time.
Ideal burndown remaining-work formula?
— constant rate per day assume karke linear fall.
Kanban ka ek strict rule kya hai?
WIP limit per column — uske bina Little's Law se lead time unboundedly badhti rahti hai.

Connections

  • Software Development Life Cycle (SDLC) — Agile ek SDLC model hai Waterfall ke mukable.
  • Waterfall Model — big-batch approach jiske against Agile react karta hai.
  • Little's Law — queueing theory result jo Kanban mein reuse hota hai.
  • Lean Manufacturing — Kanban ka origin (Toyota production system).
  • Continuous Integration & Delivery (CI-CD) — wo engineering practice jo shippable increments ko real banati hai.
  • Project Estimation & Story Points — velocity ke peeche relative sizing.

Concept Map

bets on

fights

implemented as

implemented as

fixed time-boxes

continuous flow

defines

owns what and why

owns how team works

owns how built

orders

slice pulled into

produces

must meet

removes blockers not

Agile Manifesto 2001

Feedback > Planning

Big Batches of Unverified Work

Scrum

Kanban

Sprint 1-4 weeks

WIP Limits

3 Roles

Product Owner

Scrum Master

Developers

Product Backlog

Sprint Backlog

Shippable Increment

Definition of Done