cto-advisor
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseCTO Advisor
CTO 技术顾问
Technical leadership advisory for Chief Technology Officers.
为首席技术官提供技术领导力咨询服务。
Core Competencies
核心能力
- Technology strategy and vision
- System architecture and design
- Engineering team building and scaling
- Technical debt management
- Build vs buy decisions
- Security and compliance
- Platform and infrastructure
- Vendor and technology evaluation
- 技术战略与愿景
- 系统架构与设计
- 工程团队建设与扩张
- 技术债务管理
- 自研 vs 采购决策
- 安全与合规
- 平台与基础设施
- 供应商与技术评估
Architecture Decision Framework
架构决策框架
Decision Record Template (ADR)
决策记录模板(ADR)
markdown
undefinedmarkdown
undefinedADR-[NUMBER]: [TITLE]
ADR-[编号]: [标题]
Status
状态
[Proposed | Accepted | Deprecated | Superseded]
[提议中 | 已通过 | 已弃用 | 已替代]
Context
背景
[What is the issue we're facing?]
[我们面临的问题是什么?]
Decision
决策
[What is the change we're proposing?]
[我们提议的变更内容是什么?]
Consequences
影响
[What becomes easier or harder?]
[哪些事情会变容易或变困难?]
Alternatives Considered
备选方案评估
[What other options were evaluated?]
undefined[我们还评估了哪些其他选项?]
undefinedTechnology Evaluation Matrix
技术评估矩阵
| Criteria | Weight | Option A | Option B | Option C |
|---|---|---|---|---|
| Technical Fit | 25% | |||
| Team Capability | 20% | |||
| Scalability | 20% | |||
| Total Cost | 15% | |||
| Vendor Risk | 10% | |||
| Community/Support | 10% |
| 评估标准 | 权重 | 选项A | 选项B | 选项C |
|---|---|---|---|---|
| 技术适配性 | 25% | |||
| 团队能力匹配度 | 20% | |||
| 可扩展性 | 20% | |||
| 总成本 | 15% | |||
| 供应商风险 | 10% | |||
| 社区/支持力度 | 10% |
Technical Debt Management
技术债务管理
Debt Classification
债务分类
Type 1: Deliberate Tactical
- Conscious shortcuts for speed
- Known cleanup required
- Documented with timeline
- Example: Hardcoded config for MVP
Type 2: Accidental/Outdated
- Requirements changed after build
- Technology evolved
- Better patterns emerged
- Example: Legacy API design
Type 3: Bit Rot
- Dependencies outdated
- Security vulnerabilities
- Performance degradation
- Example: Unpatched libraries
类型1:刻意战术性债务
- 为追求速度而有意识采取的捷径
- 已知需要后续清理
- 记录有清理时间表
- 示例:MVP版本中的硬编码配置
类型2:意外/过时性债务
- 需求在构建后发生变更
- 技术迭代更新
- 出现更优模式
- 示例:遗留API设计
类型3:代码腐化
- 依赖库过时
- 安全漏洞
- 性能下降
- 示例:未打补丁的库
Debt Prioritization Formula
债务优先级计算公式
Priority Score = (Impact × Reach × Urgency) / Effort
Impact: 1-5 (business/security/reliability impact)
Reach: 1-5 (how much of system affected)
Urgency: 1-5 (time sensitivity)
Effort: 1-5 (engineering investment required)优先级得分 = (影响范围 × 覆盖度 × 紧急程度) / 实施成本
影响范围: 1-5(业务/安全/可靠性影响)
覆盖度: 1-5(受影响的系统范围)
紧急程度: 1-5(时间敏感度)
实施成本: 1-5(所需的工程投入)Debt Budget
债务预算
Allocate engineering capacity to debt:
- Startup (< 20 engineers): 10-15%
- Growth (20-100 engineers): 15-20%
- Scale (100+ engineers): 20-25%
分配工程资源用于债务清理:
- 初创公司(< 20名工程师): 10-15%
- 成长期(20-100名工程师): 15-20%
- 规模化阶段(100+名工程师): 20-25%
Engineering Team Scaling
工程团队扩张
Team Structure by Size
按规模划分的团队结构
5-15 Engineers:
- Single team, full-stack ownership
- CTO as technical lead
- Informal processes
- Everyone deploys
15-40 Engineers:
- 2-4 feature teams
- Engineering managers introduced
- Sprint/kanban processes
- On-call rotation begins
40-100 Engineers:
- Platform team split out
- Tech leads per team
- Architecture review board
- Formal RFC process
100+ Engineers:
- Multiple domains/pillars
- Principal engineers
- Developer experience team
- Internal tooling investment
5-15名工程师:
- 单一团队,全栈所有权
- CTO兼任技术负责人
- 非正式流程
- 全员参与部署
15-40名工程师:
- 2-4个功能团队
- 引入工程经理
- 采用Sprint/Kanban流程
- 开始轮值待命
40-100名工程师:
- 拆分出平台团队
- 每个团队配备技术负责人
- 成立架构评审委员会
- 正式的RFC流程
100+名工程师:
- 多个业务域/支柱团队
- 首席工程师
- 开发者体验团队
- 投入内部工具建设
Hiring Bar
招聘标准
Junior (0-2 years):
- Strong fundamentals
- Learning velocity
- Culture fit
- Mentorship capacity available
Mid-Level (2-5 years):
- Independent delivery
- Code quality focus
- Collaboration skills
- Can own features end-to-end
Senior (5+ years):
- System design capability
- Technical leadership
- Mentoring others
- Cross-team influence
Staff+ (8+ years):
- Organizational impact
- Technical vision
- Executive communication
- Industry perspective
初级工程师(0-2年):
- 扎实的基础知识
- 学习能力强
- 文化契合
- 有可提供指导的导师资源
中级工程师(2-5年):
- 独立交付能力
- 注重代码质量
- 协作能力强
- 可端到端负责功能开发
高级工程师(5+年):
- 系统设计能力
- 技术领导力
- 能够指导他人
- 跨团队影响力
资深+工程师(8+年):
- 组织层面影响力
- 技术愿景规划
- 高管沟通能力
- 行业视角
Interview Process
面试流程
- Resume Screen: Technical background check
- Phone Screen: Communication and basic skills
- Technical Interview: Coding and problem solving
- System Design: Architecture and trade-offs
- Team Fit: Collaboration and culture
- Reference Check: Verification and red flags
- 简历筛选: 技术背景核查
- 电话面试: 沟通能力与基础技能
- 技术面试: 编码与问题解决
- 系统设计: 架构与权衡取舍
- 团队适配性: 协作与文化契合
- 背景调查: 资质验证与风险排查
Platform Strategy
平台策略
Build vs Buy Framework
自研 vs 采购框架
Build When:
- Core differentiator
- Unique requirements
- Long-term strategic value
- Sufficient engineering capacity
- Acceptable timeline
Buy When:
- Commodity capability
- Standard requirements
- Faster time to market
- Cost effective at scale
- Vendor ecosystem strong
自研场景:
- 核心差异化能力
- 独特需求
- 长期战略价值
- 充足的工程资源
- 可接受的时间周期
采购场景:
- 通用能力
- 标准化需求
- 更快的上市时间
- 规模化下成本更优
- 供应商生态成熟
Technology Radar
技术雷达
Categorize technologies into:
Adopt: Use in production
Trial: Use in limited scope
Assess: Explore and evaluate
Hold: Do not start new work
Review quarterly with engineering leadership.
将技术分为以下四类:
采纳: 用于生产环境
试用: 有限范围使用
评估: 探索与评估
搁置: 不开展新的相关工作
每季度与工程领导层复盘。
Security Framework
安全框架
Security Layers
安全分层
Application Security:
- Input validation
- Authentication/authorization
- Secrets management
- Dependency scanning
Infrastructure Security:
- Network segmentation
- Encryption in transit/at rest
- Access controls
- Audit logging
Operational Security:
- Incident response
- Vulnerability management
- Penetration testing
- Security training
应用安全:
- 输入验证
- 身份认证/授权
- 密钥管理
- 依赖库扫描
基础设施安全:
- 网络分段
- 传输/存储加密
- 访问控制
- 审计日志
运营安全:
- 事件响应
- 漏洞管理
- 渗透测试
- 安全培训
Compliance Checklist
合规检查清单
- SOC 2 Type II
- GDPR compliance
- Data classification
- Access reviews (quarterly)
- Penetration testing (annual)
- Security awareness training
- Incident response plan
- Business continuity plan
- SOC 2 Type II
- GDPR合规
- 数据分类
- 访问权限评审(季度)
- 渗透测试(年度)
- 安全意识培训
- 事件响应计划
- 业务连续性计划
Engineering Metrics
工程指标
Productivity Metrics
生产力指标
DORA Metrics:
- Deployment Frequency
- Lead Time for Changes
- Mean Time to Recovery
- Change Failure Rate
Targets by Maturity:
| Metric | Low | Medium | High | Elite |
|---|---|---|---|---|
| Deploy Freq | Monthly | Weekly | Daily | On-demand |
| Lead Time | > 6 months | 1-6 months | 1 week-1 month | < 1 day |
| MTTR | > 6 months | 1 day-1 week | < 1 day | < 1 hour |
| Change Fail | > 46% | 16-30% | 0-15% | 0-15% |
DORA指标:
- 部署频率
- 变更前置时间
- 平均恢复时间
- 变更失败率
按成熟度划分的目标:
| 指标 | 低成熟度 | 中成熟度 | 高成熟度 | 精英级 |
|---|---|---|---|---|
| 部署频率 | 每月 | 每周 | 每日 | 按需 |
| 前置时间 | > 6个月 | 1-6个月 | 1周-1个月 | < 1天 |
| 平均恢复时间 | > 6个月 | 1天-1周 | < 1天 | < 1小时 |
| 变更失败率 | > 46% | 16-30% | 0-15% | 0-15% |
Quality Metrics
质量指标
- Test coverage percentage
- Bug escape rate
- P0/P1 incident frequency
- Technical debt ratio
- Documentation coverage
- 测试覆盖率
- 漏洞逃逸率
- P0/P1事件频率
- 技术债务占比
- 文档覆盖率
System Design Principles
系统设计原则
Scalability Patterns
可扩展性模式
Horizontal Scaling:
- Stateless services
- Load balancing
- Database sharding
- Cache layers
Vertical Scaling:
- Resource optimization
- Query optimization
- Memory management
- Connection pooling
水平扩展:
- 无状态服务
- 负载均衡
- 数据库分片
- 缓存层
垂直扩展:
- 资源优化
- 查询优化
- 内存管理
- 连接池
Reliability Patterns
可靠性模式
Fault Tolerance:
- Circuit breakers
- Retry with backoff
- Graceful degradation
- Bulkhead isolation
Observability:
- Structured logging
- Distributed tracing
- Metrics collection
- Alerting thresholds
容错性:
- 断路器
- 退避重试
- 优雅降级
- 舱壁隔离
可观测性:
- 结构化日志
- 分布式追踪
- 指标收集
- 告警阈值
Common Scenarios
常见场景
Scenario: Major Outage
场景:重大故障
Response sequence:
- Acknowledge and assemble team
- Identify scope and impact
- Implement mitigation
- Communicate to stakeholders
- Resolve root cause
- Conduct post-mortem
- Implement preventive measures
响应流程:
- 确认故障并组建应对团队
- 确定影响范围与程度
- 实施缓解措施
- 向利益相关方沟通
- 解决根本原因
- 事后复盘
- 实施预防措施
Scenario: Security Incident
场景:安全事件
Response sequence:
- Contain the breach
- Preserve evidence
- Assess data exposure
- Notify legal/compliance
- Remediate vulnerability
- External notification if required
- Post-incident review
响应流程:
- 遏制漏洞扩散
- 保留证据
- 评估数据泄露情况
- 通知法务/合规部门
- 修复漏洞
- 如需进行外部通知
- 事后评审
Scenario: Acquisition Due Diligence
场景:收购尽职调查
Preparation checklist:
- System architecture documentation
- Technology inventory
- Security audit reports
- Scalability assessment
- Technical debt inventory
- Key personnel dependencies
- IP and licensing review
准备清单:
- 系统架构文档
- 技术资产清单
- 安全审计报告
- 可扩展性评估
- 技术债务清单
- 关键人员依赖情况
- 知识产权与许可协议评审
Reference Materials
参考资料
- - System design patterns
references/architecture_patterns.md - - Security best practices
references/security_framework.md - - Team and system scaling
references/scaling_playbook.md - - Technology assessment guide
references/tech_evaluation.md
- - 系统设计模式
references/architecture_patterns.md - - 安全最佳实践
references/security_framework.md - - 团队与系统扩张
references/scaling_playbook.md - - 技术评估指南
references/tech_evaluation.md
Scripts
脚本
bash
undefinedbash
undefinedTechnical debt analysis
技术债务分析
python scripts/tech_debt_analyzer.py --repo /path/to/repo
python scripts/tech_debt_analyzer.py --repo /path/to/repo
Team scaling calculator
团队扩张计算器
python scripts/team_scaling.py --current 25 --growth-rate 0.5
python scripts/team_scaling.py --current 25 --growth-rate 0.5
Architecture diagram generator
架构图生成器
python scripts/arch_diagram.py --services services.yaml
python scripts/arch_diagram.py --services services.yaml
Security scan orchestration
安全扫描编排
python scripts/security_scan.py --target production
undefinedpython scripts/security_scan.py --target production
undefined