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

Rest API /tokens/{id}/balance slows down with large number of token account relationships #10162

Open
xin-hedera opened this issue Jan 17, 2025 · 0 comments
Labels
performance rest Area: REST API

Comments

@xin-hedera
Copy link
Collaborator

Description

Rest API /tokens/{id}/balance, when there are large number of token account relationships (hundreds of millions), shows much lower RPS in k6 test results. Historical token balance query (/tokens/{id}/balance?timestamp=X) is not as bad, however also shows significant slowdown.

Steps to reproduce

Restore database from 100M entities test snapshot, and run k6 perf test.

Additional context

No response

Hedera network

other

Version

v0.119.0

Operating system

None

@xin-hedera xin-hedera added performance rest Area: REST API labels Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance rest Area: REST API
Projects
None yet
Development

No branches or pull requests

1 participant