Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Load Test and Optimize API #1818

Closed
adamkrellenstein opened this issue May 24, 2024 · 4 comments
Closed

Load Test and Optimize API #1818

adamkrellenstein opened this issue May 24, 2024 · 4 comments

Comments

@adamkrellenstein
Copy link
Member

adamkrellenstein commented May 24, 2024

We want to make sure that all calls are performant and that the API server handles concurrent calls well.

Test with large limits, e.g. 10,000.

Locust looks like a good framework.

@adamkrellenstein adamkrellenstein changed the title Load Test API (v1 and v2) Load Test and Optimize API (v1 and v2) May 26, 2024
@adamkrellenstein adamkrellenstein modified the milestones: v10.1.3 (Logs, CLI, API Fixes), v10.2.1 (Testing and Bugfixes), v10.2.1 (Kill Kickstart; Testing and Bugfixes), v10.2.2 May 31, 2024
@adamkrellenstein adamkrellenstein changed the title Load Test and Optimize API (v1 and v2) Load Test and Optimize API v2 Oct 26, 2024
@adamkrellenstein adamkrellenstein changed the title Load Test and Optimize API v2 Load Test and Optimize API Oct 26, 2024
@adamkrellenstein
Copy link
Member Author

(@scottatwood is developing a load test now)

@adamkrellenstein
Copy link
Member Author

adamkrellenstein commented Nov 15, 2024

Screenshot 2024-11-15 at 10 59 02 AM image

@adamkrellenstein
Copy link
Member Author

Screenshot 2024-11-15 at 12 15 33 PM

This is for this subset of calls:

 295   │ class CounterpartyCoreUser(HttpUser):
 296   │     tasks = {
 297   │         CounterpartyApiRootTasks: 1,
 298   │         BlocksTasks: 2,
 299   │         TransactionsTasks: 3,
 300   │         AddressesTasks: 4,
 301   │         # UtxosTasks: 5,
 302   │         # ComposeTasks: 6,
 303   │         AssetsTasks: 7,
 304   │         OrdersTasks: 8,
 305   │         OrderMatchesTasks: 9,
 306   │         BetsTasks: 10,
 307   │         BurnsTasks: 11,
 308   │         DispensersTasks: 12,
 309   │         DividendsTasks: 13,
 310   │         # EventsTasks: 14,
 311   │         DispensesTasks: 15,
 312   │         SendsTasks: 16,
 313   │         IssuancesTasks: 17,
 314   │         SweepsTasks: 18,
 315   │         BroadcastsTasks: 19,
 316   │         FairmintersTasks: 20,
 317   │         FairmintsTasks: 21,
 318   │         # BitcoinTasks: 22,
 319   │         MempoolTasks: 23,
 320   │         RoutesTasks: 24,

@adamkrellenstein
Copy link
Member Author

#2718

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants