- Backend: FastAPI app with all models, services, schemas, routes - Admin Panel: Next.js dashboard with all modules (CRM, POS, repairs, warranties, billing, notifications, etc.) - Ecommerce: storefront (submodule) + product catalog - AI Agents: .agents/ skill library for Antigravity IDE - Docs: architecture, billing, notification gateway markdown - Submodules: Backend/OpenWA, Ecommerce/File 2/storefront
17 lines
686 B
Markdown
17 lines
686 B
Markdown
# Load & Performance Testing Plan
|
|
|
|
## Locust Load Test Scenarios
|
|
|
|
---
|
|
|
|
## 1. Catalog Browsing & Search Spike Test
|
|
* Target: 5,000 concurrent users searching and filtering OpenSearch.
|
|
* Goal: Verify P95 search latency stays under $80\text{ ms}$.
|
|
|
|
## 2. Concurrent Checkout & Stock Reservation Test
|
|
* Target: 500 concurrent checkouts purchasing the exact same `variant_id`.
|
|
* Goal: Verify Redis distributed locking prevents double-selling and stock balances remain exact.
|
|
|
|
## 3. POS Synchronization Batch Load Test
|
|
* Target: 50 POS terminals posting 1,000 offline transactions simultaneously.
|
|
* Goal: Verify zero duplicate invoice creation and sub-100ms response time per terminal batch.
|