feat: Add comprehensive load testing suite with k6#1
Open
utilityjnr wants to merge 1 commit intomainfrom
Open
Conversation
Implements complete load testing infrastructure to verify backend performance and identify bottlenecks under various load conditions. Features: - 6 test scripts covering all critical endpoints - Corridors, anchors, and RPC endpoint tests - Full suite, stress, and spike test scenarios - Custom metrics and validation - Realistic load patterns with weighted scenarios Documentation: - Comprehensive README with installation and usage - Quick start guide (5-minute setup) - Performance baseline tracking - Troubleshooting guide - Navigation index Automation: - Bash and PowerShell runner scripts - GitHub Actions CI/CD workflow - Automated test execution and reporting Performance Targets: - p95 response time < 500ms (API endpoints) - p95 response time < 1000ms (RPC endpoints) - Error rate < 1% - Throughput > 200 req/s Test Coverage: - /api/corridors (100 VUs, 9 min) - /api/anchors (100 VUs, 9 min) - /api/rpc/* endpoints (50 VUs, 9 min) - Full suite (150 VUs, 16 min) - Stress test (400 VUs, 26 min) - Spike test (500 VUs, 7 min) Tools: - k6 for load testing - Custom metrics and thresholds - JSON and HTML report generation Closes #[issue-number] - Load testing implementation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ndifreke000#213 closed