-
Notifications
You must be signed in to change notification settings - Fork 217
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
Performance issues /v2/byron-wallets/{walletId}/addresses API #1713
Comments
Most requests do not pass at all |
As a first mitigation, what about increasing the default timeout on your http client ? |
same problem. the api may be need paginate for working. |
This should no longer be the issue after recent improvements -> #1903 (comment).
|
Account functionality has been removed in cardano-wallet, as a result when we return a list of addresses from the cardano-wallet, we see performance issues.
Previously we use the following API from cardano-sl to return only a list of addresses in a specific account:
https://docs.cardano.org/technical/wallet/api/v1/#tag/Accounts%2Fpaths%2F~1api~1v1~1wallets~1%7BwalletId%7D~1accounts~1%7BaccountId%7D~1addresses%2Fget
Now when we run
curl http://localhost:8090/v2/byron-wallets/9450c1d184dc0f8f9a27d8ddf3f69b3b1633e44d/addresses
the response returns all 50,000 addresses which can take up to 90 seconds
We expect that number of addresses to grow overtime so 90 seconds is not a good baseline
The text was updated successfully, but these errors were encountered: