Initial commit of the L'Ami Fiduciaire SaaS platform built on Laravel 12, Vue 3, Inertia.js 2, and Tailwind CSS 4. Story 0.1 (rename folders to declarations in database) is implemented and code-reviewed: migration, rollback, and 6 Pest tests all passing. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
89 lines
2.0 KiB
Markdown
89 lines
2.0 KiB
Markdown
---
|
|
name: 'step-04d-subagent-scalability'
|
|
description: 'Subagent: Scalability NFR assessment'
|
|
subagent: true
|
|
outputFile: '/tmp/tea-nfr-scalability-{{timestamp}}.json'
|
|
---
|
|
|
|
# Subagent 4D: Scalability NFR Assessment
|
|
|
|
## SUBAGENT CONTEXT
|
|
|
|
This is an **isolated subagent** running in parallel with other NFR domain assessments.
|
|
|
|
**Your task:** Assess SCALABILITY NFR domain only.
|
|
|
|
---
|
|
|
|
## SUBAGENT TASK
|
|
|
|
### 1. Scalability Assessment Categories
|
|
|
|
**A) Horizontal Scaling:**
|
|
|
|
- Stateless architecture
|
|
- Load balancer configuration
|
|
- Container orchestration (K8s)
|
|
- Auto-scaling policies
|
|
|
|
**B) Vertical Scaling:**
|
|
|
|
- Resource allocation
|
|
- Database size limits
|
|
- Memory management
|
|
- CPU optimization
|
|
|
|
**C) Data Scaling:**
|
|
|
|
- Database partitioning/sharding
|
|
- Read replicas
|
|
- Caching layers
|
|
- Data archival strategy
|
|
|
|
**D) Traffic Handling:**
|
|
|
|
- CDN for static assets
|
|
- Rate limiting
|
|
- Queue systems for async work
|
|
- WebSocket scaling
|
|
|
|
---
|
|
|
|
## OUTPUT FORMAT
|
|
|
|
```json
|
|
{
|
|
"domain": "scalability",
|
|
"risk_level": "MEDIUM",
|
|
"findings": [
|
|
{
|
|
"category": "Horizontal Scaling",
|
|
"status": "PASS",
|
|
"description": "Stateless architecture with container orchestration",
|
|
"evidence": ["Docker + Kubernetes setup", "Auto-scaling configured"],
|
|
"recommendations": []
|
|
},
|
|
{
|
|
"category": "Data Scaling",
|
|
"status": "CONCERN",
|
|
"description": "No database sharding strategy for large data growth",
|
|
"evidence": ["Single database instance", "No partitioning"],
|
|
"recommendations": ["Plan database sharding strategy", "Implement read replicas", "Consider database clustering"]
|
|
}
|
|
],
|
|
"compliance": {
|
|
"1M_users": "PASS",
|
|
"10M_users": "CONCERN",
|
|
"100M_users": "FAIL"
|
|
},
|
|
"priority_actions": ["Design database sharding strategy for future growth", "Implement read replicas for read-heavy workloads"],
|
|
"summary": "Scalability is good up to 1M users, concerns for 10M+ users"
|
|
}
|
|
```
|
|
|
|
---
|
|
|
|
## EXIT CONDITION
|
|
|
|
Subagent completes when JSON output written to temp file.
|