-
-
Notifications
You must be signed in to change notification settings - Fork 644
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
Constant high CPU when getting above a certain number of users #1086
Comments
Hi. Tuning workers (blockchain+mempool sync) will not help you to increase the user throughput, they are more or less independent on the number of served users as they sync Blockbook to the backend. The main load of the GetXpubAddress can be split into two parts:
In general, I do not think there is much more to tune, unfortunately. The cache size could help if the disk throughput would be the limiting factor. |
Understood. There is another point I discovered when testing for a solution: |
@Frank-GER Interesting. Could you please try to identify the issue using profiling? You can add profiling to Blockbook if you add the flag |
Is there a way to tune blockbook/roksdb to better handle a larger amount of users?
I tried increasing the dbcache (cache size 2147483648, max open files 16384), but haven't touched workers yet (mempool: starting with 8*2 sync workers).
Most used requests (>95%) are GetXpubAddress.
Do I need to increase cache and/or workers to better handle that load?
Disk throughput isn't critical but hints to holding more data indexes in memcache might improve the situation.
The text was updated successfully, but these errors were encountered: