Trang chủBài viếtSeriesThi thửVề mình

RADD Phần 2 — Architecture, Design Options và Recommend Solution

RADD Phần 2 — Architecture, Design Options và Recommend Solution

RADD Phần 2: Từ Requirements đến Solution Design

Bài trước chúng ta đã nắm Tasks 1-3 (Specify, Verify, Validate). Bài này hoàn thành RADD với 3 Tasks còn lại — kiến trúc yêu cầu, phương án thiết kếđề xuất giải pháp.

Task 4: Define Requirements Architecture

Mục đích

Tổ chức requirements thành một cấu trúc có hệ thống, đảm bảo requirements đầy đủ, nhất quán và hỗ trợ cho việc thiết kế giải pháp.

Requirements Architecture Components

Organizing Requirements

Cách tổ chứcKhi nào dùngVí dụ
By FeatureProduct developmentLogin, Dashboard, Reports
By ProcessProcess improvementOrder → Payment → Delivery
By StakeholderMultiple user groupsCustomer view, Admin view
By PriorityResource constraintsMust-have → Nice-to-have
By ReleasePhased deliveryMVP → v1.1 → v2.0

Context Diagram

Scope Definition

Task 5: Define Design Options

Mục đích

Xác định các phương án thiết kế có thể đáp ứng requirements, và phân tích ưu/nhược điểm của từng phương án.

Design vs Requirements

RequirementsDesign
FocusWHATHOW
OwnerBA + StakeholderBA + Solution Team
LevelWhat system must doHow system will do it
Ví dụ"User can search products""Search uses Elasticsearch, auto-suggest after 3 chars"

Design Option Categories

1. Build vs Buy vs Outsource

OptionProsCons
Build custom100% fit, full controlExpensive, time-consuming
Buy COTSFast, proven, cheaperLimited customization
SaaS/CloudNo infrastructure, scalableVendor lock-in, data privacy
OutsourceCost-effective, expertiseCommunication overhead
HybridBest of both worldsComplexity, integration

2. Process Design Options

Non-Functional Requirements trong Design

NFR CategoryMetricsDesign Impact
PerformanceResponse time, throughputArchitecture choices, caching
ScalabilityUsers, data volumeCloud vs on-premise, microservices
SecurityAuthentication, authorizationSecurity framework, encryption
AvailabilityUptime %, recovery timeRedundancy, failover
UsabilityEase of use, accessibilityUI framework, UX patterns
MaintainabilityCode quality, documentationTechnology stack, standards
CompatibilityBrowser, OS, devicesCross-platform, responsive

Interface Design

Task 6: Analyze Potential Value & Recommend Solution

Mục đích

Phân tích giá trị tiềm năng của mỗi design option và đưa ra đề xuất chọn giải pháp tối ưu.

Value Analysis Framework

Tangible vs Intangible Benefits

Tangible BenefitsIntangible Benefits
Đo được✅ Yes, quantified❌ Hard to quantify
Ví dụGiảm chi phí $50K/nămTăng employee satisfaction
Tăng doanh thu 15%Cải thiện brand reputation
Giảm 200 giờ/tháng manual workBetter decision making
Giảm error rate 80%Competitive advantage

Financial Analysis

MetricCông thứcÝ nghĩa
ROI(Benefits - Costs) / Costs × 100%Tỷ suất hoàn vốn
NPVΣ (Cash Flow / (1+r)^t)Giá trị hiện tại ròng
Payback PeriodInitial Investment / Annual BenefitsThời gian hoàn vốn
IRRRate where NPV = 0Tỷ suất thu hồi nội bộ

Decision Matrix (Weighted Scoring)

CriteriaWeightOption A: BuildOption B: BuyOption C: Hybrid
Business fit30%9 (2.7)6 (1.8)8 (2.4)
Cost25%4 (1.0)8 (2.0)6 (1.5)
Time to market20%3 (0.6)9 (1.8)7 (1.4)
Risk15%5 (0.75)7 (1.05)6 (0.9)
Scalability10%8 (0.8)5 (0.5)7 (0.7)
Total Score5.857.156.90
Rank#3#1#2

Recommendation Structure

Techniques cho RADD

TechniqueTasksMô tả
Data ModellingT1, T4ERD, data dictionary
Process ModellingT1, T4BPMN, flowcharts, swimlanes
Use CasesT1Actor-system interactions
User StoriesT1Agile requirements format
PrototypingT1, T5Visual representation
State ModellingT1, T4State transitions
Decision TablesT1Business rules specification
Acceptance CriteriaT2, T3Testable conditions
ReviewsT2Peer review, walkthrough
Decision AnalysisT5, T6Weighted scoring, comparison
Financial AnalysisT6ROI, NPV, IRR
Risk AnalysisT6Probability/Impact matrix
Non-Functional AnalysisT5Performance, security, usability
Interface AnalysisT4, T5System boundaries

📝 Tóm tắt kiến thức nổi bật

Key Takeaways — Bài 9
  • Requirements Architecture: Tổ chức requirements theo cấu trúc — Context Diagram → Requirements Packages → Traceability
  • Context Diagram: Biểu diễn system boundary, actors bên ngoài, data flows vào/ra
  • Design Options: Build (custom) vs Buy (COTS) vs SaaS — đánh giá theo Cost, Fit, Risk, Time, Control
  • NFR Categories: Performance, Security, Availability, Scalability, Usability, Maintainability, Compliance
  • Financial Analysis: ROI = (Gain - Cost) / Cost × 100%; NPV tính giá trị hiện tại; Payback Period = thời gian hoàn vốn
  • Recommendation Structure: Problem Statement → Options Analyzed → Recommended Option → Rationale → Risks → Implementation Plan

Tóm tắt & Checklist ôn tập

  • Hiểu Requirements Architecture và cách tổ chức requirements
  • Vẽ được Context Diagram
  • Phân biệt Requirements vs Design
  • Nắm Build vs Buy vs SaaS options
  • Hiểu NFR categories và design impact
  • Biết cách làm Decision Matrix (weighted scoring)
  • Nắm Financial Analysis metrics (ROI, NPV, Payback)
  • Cấu trúc Recommendation đầy đủ

📋 Bài kiểm tra trắc nghiệm — Bài 9

💡Hướng dẫn làm bài

Làm 10 câu bên dưới trong 14 phút. Chọn MỘT đáp án đúng nhất. Đáp án ở cuối bài.

Câu 1. Context Diagram thể hiện điều gì?

  • A. Internal system components chi tiết
  • B. System boundary, external actors, và data flows vào/ra hệ thống
  • C. Database schema
  • D. User interface wireframes

Câu 2. Công ty cần hệ thống CRM nhanh. Có 3 options: Build custom, Buy Salesforce, dùng HubSpot SaaS. Core business process rất đặc thù. Option nào phù hợp nhất?

  • A. Buy Salesforce vì phổ biến
  • B. HubSpot SaaS vì rẻ
  • C. Build custom vì core process đặc thù cần customization cao
  • D. Không cần CRM

Câu 3. ROI = 150% nghĩa là:

  • A. Lỗ 150%
  • B. Lợi nhuận bằng 150% chi phí đầu tư
  • C. Chi phí là 150% budget
  • D. Break-even

Câu 4. NFR "Hệ thống available 99.9% uptime" thuộc category nào?

  • A. Performance
  • B. Security
  • C. Availability
  • D. Scalability

Câu 5. Sự khác biệt giữa Requirements và Design là:

  • A. Không có sự khác biệt
  • B. Requirements = WHAT (cần làm gì); Design = HOW (làm như thế nào)
  • C. Requirements cho dev team; Design cho BA
  • D. Design đến trước Requirements

Câu 6. BA cần đánh giá 3 vendors. Mỗi vendor có scores khác nhau về Cost, Features, Support. Technique nào phù hợp?

  • A. SWOT Analysis
  • B. Weighted Scoring Matrix / Decision Matrix
  • C. Fishbone Diagram
  • D. Brainstorming

Câu 7. Payback Period = 2 năm nghĩa là:

  • A. Dự án kéo dài 2 năm
  • B. Sau 2 năm, tổng benefits bằng tổng costs đầu tư (hoàn vốn)
  • C. ROI = 200%
  • D. NPV dương sau 2 năm

Câu 8. BA đề xuất recommendation nhưng KHÔNG bao gồm risks. Điều này sai vì:

  • A. Risks không quan trọng
  • B. Recommendation phải bao gồm cả risks để stakeholder ra quyết định informed
  • C. Chỉ cần nêu benefits
  • D. Risks do PM quản lý, không phải BA

Câu 9. Khi nào nên chọn Buy (COTS) thay vì Build custom?

  • A. Khi requirements rất đặc thù
  • B. Khi off-the-shelf solution đáp ứng ~80%+ requirements và time-to-market quan trọng
  • C. Khi budget không giới hạn
  • D. Khi team dev rất mạnh

Câu 10. NFR ảnh hưởng đến design decisions như thế nào?

  • A. NFR không ảnh hưởng design
  • B. NFR quyết định architecture choices (database, hosting, caching, security layer...)
  • C. NFR chỉ ảnh hưởng testing
  • D. NFR chỉ được xem xét sau khi implement

🔑 Đáp án & Giải thích

CâuĐáp ánGiải thích
1BContext Diagram = big picture: system boundary (the box), external actors, data flows (arrows in/out).
2CCore process đặc thù → COTS/SaaS khó customize → Build custom cho flexibility cao nhất.
3BROI 150% = mỗi $1 đầu tư → thu về $1.50 lợi nhuận (tổng $2.50).
4C99.9% uptime = Availability requirement. Performance liên quan đến speed/throughput.
5BRequirements = WHAT the system needs to do. Design = HOW it will be implemented.
6BWeighted Scoring Matrix = criteria × weights × scores — so sánh objective giữa options.
7BPayback Period = thời gian hoàn vốn — khi total benefits = total costs.
8BRecommendation phải transparent — bao gồm benefits, risks, assumptions, constraints.
9BBuy khi solution có sẵn đáp ứng phần lớn requirements và speed-to-market quan trọng.
10BNFR drives architecture decisions — performance → caching; security → encryption layers; scalability → cloud.

📊 Thang đánh giá

Số câu đúngĐánh giáHành động
9-10⭐ Xuất sắcRADD Part 2 nắm vững!
7-8✅ TốtÔn lại Build vs Buy vs SaaS và Financial Analysis
5-6⚠️ Trung bìnhĐọc lại NFR categories và Requirements Architecture
< 5❌ Cần ôn lạiRADD 32% — phần này cực kỳ quan trọng

Tiếp theo

Bài tiếp theo sẽ đi vào Solution Evaluation (6%) — đánh giá giải pháp sau triển khai.


From requirements to solutions — that's what BA does! 🏗️