Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

step-04d-subagent-scalability.md 2.0KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. ---
  2. name: 'step-04d-subagent-scalability'
  3. description: 'Subagent: Scalability NFR evidence audit'
  4. subagent: true
  5. outputFile: '/tmp/tea-nfr-scalability-{{timestamp}}.json'
  6. ---
  7. # Subagent 4D: Scalability NFR Evidence Audit
  8. ## SUBAGENT CONTEXT
  9. This is an **isolated subagent** running in parallel with other NFR domain evidence audits.
  10. **Your task:** Assess SCALABILITY NFR domain only.
  11. ---
  12. ## SUBAGENT TASK
  13. ### 1. Scalability Evidence Audit Categories
  14. **A) Horizontal Scaling:**
  15. - Stateless architecture
  16. - Load balancer configuration
  17. - Container orchestration (K8s)
  18. - Auto-scaling policies
  19. **B) Vertical Scaling:**
  20. - Resource allocation
  21. - Database size limits
  22. - Memory management
  23. - CPU optimization
  24. **C) Data Scaling:**
  25. - Database partitioning/sharding
  26. - Read replicas
  27. - Caching layers
  28. - Data archival strategy
  29. **D) Traffic Handling:**
  30. - CDN for static assets
  31. - Rate limiting
  32. - Queue systems for async work
  33. - WebSocket scaling
  34. ---
  35. ## OUTPUT FORMAT
  36. ```json
  37. {
  38. "domain": "scalability",
  39. "risk_level": "MEDIUM",
  40. "findings": [
  41. {
  42. "category": "Horizontal Scaling",
  43. "status": "PASS",
  44. "description": "Stateless architecture with container orchestration",
  45. "evidence": ["Docker + Kubernetes setup", "Auto-scaling configured"],
  46. "recommendations": []
  47. },
  48. {
  49. "category": "Data Scaling",
  50. "status": "CONCERN",
  51. "description": "No database sharding strategy for large data growth",
  52. "evidence": ["Single database instance", "No partitioning"],
  53. "recommendations": ["Plan database sharding strategy", "Implement read replicas", "Consider database clustering"]
  54. }
  55. ],
  56. "compliance": {
  57. "1M_users": "PASS",
  58. "10M_users": "CONCERN",
  59. "100M_users": "FAIL"
  60. },
  61. "priority_actions": ["Design database sharding strategy for future growth", "Implement read replicas for read-heavy workloads"],
  62. "summary": "Scalability is good up to 1M users, concerns for 10M+ users"
  63. }
  64. ```
  65. ---
  66. ## EXIT CONDITION
  67. Subagent completes when JSON output written to temp file.