-
Type:
Story
-
Resolution: Done
-
Priority:
High
-
Affects Version/s: None
-
STOP TB Sprint 12, STOP TB Sprint 13
Scale target (applies to all stories under STOP-186): The app must work reliably with 100,000 records and scale up to 1,000,000 records. Which record types count (beneficiaries, households, diagnostic orders, pending sync records): [TBD/CLARIFICATION REQUIRED]
Background / Context
The app is used in camp environments with growing beneficiary data. The other optimization stories need a baseline to prove improvement.
Problem Statement
- Changes to the application are not consistently checked against existing functionality.
- App updates may affect existing user data.
- There is no standard benchmark to measure whether performance is improving or degrading.
Current Behaviour
No regular automated checks. No recorded benchmarks for small or large datasets.
Expected Behaviour / Requirement
- Automated checks confirm existing functionality still works.
- Existing user data is verified as safe across app updates.
- Performance benchmarks are recorded for small and large datasets, including 100k and 1M records.
User Story
As a BSA/product stakeholder, I want recorded benchmarks and automated checks so that I can confirm each release improves, or at least does not degrade, performance at scale.
Acceptance Criteria
- Given an existing app version with data, when the app is updated, then no existing user data is lost.
- Given the automated checks, when they run, then existing functionality is verified.
- Given datasets of 100k and 1M records, when benchmarks are run, then results are recorded for comparison.
- No existing user functionality is affected.
Business Rules / Validations
Benchmarks must be repeatable so later releases can be compared. Metrics to record: [TBD/CLARIFICATION REQUIRED]
Dependencies
A representative 100k and 1M test dataset: [TBD/CLARIFICATION REQUIRED]
Impact / Affected Areas
All app modules (verification only).
Out of Scope
Fixing the individual performance issues (covered in the other stories).
QA / Testing Considerations
Run benchmarks on the agreed target devices. Compare before and after for each later story.
Open Questions / Clarifications
- Target device(s) and minimum specs?
- Benchmark metrics and pass/fail thresholds?