-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Optimize initial data load #1905
Optimize initial data load #1905
Conversation
We changed the earlier behaviour with delayed execution of chunks of the list as it caused worse results as if it is processed in one go. Main reason is probably that listeners trigger more code and if that is called early at startup we have better chances that the user has not already navigated to a screen where the trade statistics are used for UI rendering. We need to take care that the update period between releases stay short as with the current situation before 0.9 release we receive 4000 objects with a newly installed client, which causes the application to stay stuck for quite a while at startup.
@ripcurlx I was wondering if we should shoot out a quick new release based on the old release but with the actual trade statistic and witness data. I tested with new data directory and at first startup the app get frozen. After that it works, but pretty bad user experience... Surprised that we did not get more complaints... Do you think a new release could be done without a lot of effort (do you have still the old java setup on the VMs)? |
Glad you brought this up, @ManfredKarrer. I too have experienced this delay on starting up new instances. I meant to report it earlier myself. A must-fix, IMO. The delay is long enough that many if not most users would think something is fatally wrong with their client. |
@ManfredKarrer I have installed a new SDK, but I should have the old configured one still in the VM. I could create a 0.8.1 release on Monday based on the last tag and just update the store dbs. |
We could do it without sending out update messages and so on. Just to have a version for download that doesn't freezes that long on start-up until we have fixed this issue properly. |
@ripcurlx Yes would be great! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
utACK
We changed the earlier behaviour with delayed execution of chunks of the list as it caused
worse results as if it is processed in one go.
Main reason is probably that listeners trigger more code and if that is called early at
startup we have better chances that the user has not already navigated to a screen where the
trade statistics are used for UI rendering.
We need to take care that the update period between releases stay short as with the current
situation before 0.9 release we receive 4000 objects with a newly installed client, which
causes the application to stay stuck for quite a while at startup.