update decision ID
This commit is contained in:
@@ -547,11 +547,12 @@ flowchart TD
|
||||
|
||||
Explain why each major decision was made.
|
||||
|
||||
| Decision | Rationale | Alternatives Rejected |
|
||||
|----------|-----------|----------------------|
|
||||
| Use WebSockets for real-time updates | Required for <100ms feedback | REST polling - too slow, too many requests |
|
||||
| Store comparison list in localStorage | Allows offline comparison editing | Redux - overkill for this feature |
|
||||
| Server-side rendering for comparison export | SEO for shared comparisons | Client-side rendering - no SEO benefit |
|
||||
| Decision ID | Decision | Rationale | Alternatives Rejected |
|
||||
|-------------|----------|-----------|----------------------|
|
||||
| SD-001 | Use NATS for async messaging | Required for real-time messaging with low overhead | Kafka - too complex for current scale |
|
||||
| SD-002 | Use WebSockets for real-time updates | Required for <100ms feedback | REST polling - too slow, too many requests |
|
||||
| SD-003 | Store comparison list in localStorage | Allows offline comparison editing | Redux - overkill for this feature |
|
||||
| SD-004 | Server-side rendering for comparison export | SEO for shared comparisons | Client-side rendering - no SEO benefit |
|
||||
|
||||
## 6. Risk Assessment
|
||||
|
||||
@@ -569,11 +570,11 @@ Link each solution component to specific requirements and assign Solution Design
|
||||
|
||||
| Solution Component | Requirement ID | Decision ID | Description |
|
||||
|-------------------|----------------|-------------|-------------|
|
||||
| Comparison table UI | FR-101 | SD-001 | Display wines in table format |
|
||||
| Filtering | FR-102 | SD-002 | Filter wines by criteria |
|
||||
| Sorting | FR-103 | SD-003 | Sort wines by any column |
|
||||
| Real-time updates | NFR-201 | SD-004 | Updates appear within 100ms |
|
||||
| Export comparison | FR-201 | SD-005 | Export comparison to PDF/CSV |
|
||||
| Comparison table UI | FR-101 | SD-001 | Display wines in table format (uses NATS messaging) |
|
||||
| Filtering | FR-102 | SD-002 | Filter wines by criteria (uses WebSocket updates) |
|
||||
| Sorting | FR-103 | SD-003 | Sort wines by any column (stored in localStorage) |
|
||||
| Real-time updates | NFR-201 | SD-002 | Updates appear within 100ms (uses WebSocket) |
|
||||
| Export comparison | FR-201 | SD-004 | Export comparison to PDF/CSV (uses server-side rendering) |
|
||||
|
||||
|
||||
### Specification Template
|
||||
|
||||
Reference in New Issue
Block a user