Skip to content

Tech Selection Methodology

Mở đầu

React hay Vue? MySQL hay PostgreSQL? Tech selection = decision quan trọng nhất đầu mỗi project. Chọn sai = vài tháng rewrite; chọn đúng = team efficiency × 2.

Chương này: build tư duy systematic, không "chọn theo cảm giác".

Bạn sẽ học:

ChươngNội dung
1Tech radar (maturity)
2Selection dimensions
3Decision matrix
4Common pitfalls

0. Toàn cảnh: bản chất tech selection

Không phải "tech nào tốt nhất", mà "tech nào phù hợp scenario hiện tại". Như chọn phương tiện — máy bay nhanh nhất, nhưng đi khu phố không cần máy bay.

Core principles

  • No silver bullet: không tech nào phù hợp mọi scenario
  • Scenario-driven: hiểu requirement trước, chọn tech sau
  • Team first: tech team quen thường là choice tốt nhất
  • Reversibility: ưu tiên solution dễ replace
技术雷达 ── 点击技术点查看详情
采纳
试验
评估
暂缓
TypeScript
React
Vue
Go
Rust
Svelte
Bun
Deno
jQuery
语言框架工具平台

1. Selection dimensions

1.1 Core evaluation

DimFocusWeight
Team abilityTeam quen không? Learning cost?Cao
CommunityDoc, 3rd-party lib, Stack Overflow countCao
PerformanceĐáp ứng yêu cầu?Trung-cao
MaintenanceActive maintain? Latest release?Trung
LicenseCompatible business model?Trung
Hiring marketTuyển được người?Trung

1.2 Case: FE framework selection

Project: enterprise internal admin
Team: 5 người (3 Vue, 1 React, 1 newbie)
Need: form-heavy, complex permission, no SEO needed

Analysis:
- 60% team quen Vue → Vue priority
- Form-heavy → Element Plus mature
- No SSR → Không cần Next/Nuxt
- → Vue 3 + Element Plus

2. Decision matrix

Khi multi option khó judge trực giác → quantify.

📊决策矩阵量化对比,科学选型
待比较技术
React Vue Svelte
评估维度与权重
学习曲线3
生态系统4
性能3
社区活跃度3
招聘难度2
打分(1-5)
维度ReactVueSvelte
学习曲线
生态系统
性能
社区活跃度
招聘难度
加权总分排名
🏆React
64.0
#2Vue
58.0
#3Svelte
49.0
💡使用方法: 调整权重反映你的项目优先级,为每个技术在各维度打分,系统自动计算加权总分。权重越高的维度对最终结果影响越大。

2.1 Cách dùng

  1. List candidates: React vs Vue vs Svelte
  2. Define dimensions: team ability, ecosystem, perf, learning curve
  3. Assign weights: theo project need, total 100%
  4. Score each item: 1-5
  5. Weighted sum: final score

2.2 Example

DimWeightReactVueSvelte
Team ability30%351
Ecosystem25%542
Learning curve20%345
Performance15%445
Hiring10%542
Total3.754.352.75

3. Common pitfalls

3.1 Resume-driven dev

"Dùng tech mới, CV thêm 1 dòng"

Chọn tech phải dựa project need, không CV cá nhân. Tech mới = unknown risk + ít community support.

3.2 Chase the new

MindsetReality
"Mới chắc tốt hơn cũ"Mới có thể bug undetected
"Big tech dùng, mình cũng dùng"Scenario big tech ≠ scenario bạn
"Tech nhiều star nhất"Star ≠ phù hợp project

3.3 Bỏ qua migration cost

Selection không chỉ xem "dùng thế nào", mà còn "đổi thế nào". Ưu tiên:

  • Standard protocol (SQL vs proprietary query)
  • Clear migration path
  • Không deep lock-in

4. AI assist tech selection

LLM giúp research nhanh, compare, gen decision report.

4.1 Compare options

Prompt:

Tôi chọn DB cho e-commerce, candidate: MySQL, PostgreSQL, MongoDB.
Đặc điểm: read-heavy, complex query, data ~10M.

Compare 5 dim: perf, ecosystem, learning curve, ops cost, scalability.
Table format, kèm recommend + lý do.

4.2 Generate ADR

Prompt:

Viết ADR format:
- Title: Chọn Vue 3 cho FE framework
- Context: [background]
- Options: React, Vue 3, Svelte
- Decision: Vue 3
- Rationale: [team, ecosystem, perf]
- Consequences: [impact, risk]

4.3 Research new tech

Prompt:

Cân nhắc thay Node.js bằng Bun. Phân tích:
1. Bun pros/cons vs Node.js
2. Ecosystem maturity (npm compat, framework support)
3. Production risk
4. Bun phù hợp/không phù hợp scenario
Đánh giá khách quan, đừng chỉ nói pros.

AI caveat

AI knowledge có cutoff — không biết latest version. Tech iterate nhanh → AI initial research → verify official doc.


5. Tổng kết

  1. Tech radar: maturity (Adopt/Trial/Assess/Hold)
  2. Dimensions: team > community > performance > maintenance
  3. Decision matrix: quantify, giảm bias subjective
  4. Pitfalls: đừng chase new, đừng follow blindly, consider migration cost

Insight cuối

Tech selection tốt nhất thường là "boring" nhất. Chọn mature, stable, team quen. Innovation effort dành cho business itself. Nhớ: tech là means, không phải end. User không care framework, chỉ care product có dùng tốt không.

2026 cho VN dev

  • Resources:
    • ThoughtWorks Tech Radar: 6 tháng/lần, authoritative
    • State of JS / State of HTML: yearly community survey
    • JetBrains State of Developer Ecosystem
  • VN scenario: tech VN dev quen
    • FE: Vue / React (tuỳ region, HCM nghiêng React)
    • BE: Node.js, Python (FastAPI), Java (Spring Boot)
    • Mobile: Flutter dominant cho cross-platform
  • AI-era 2026: AI assistant (Cursor, Claude Code) khiến team có thể adopt tech mới nhanh hơn — vì AI có thể fill gap kiến thức

Tài liệu