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

performance issue #181

Open
BOR4 opened this issue Oct 17, 2019 · 0 comments
Open

performance issue #181

BOR4 opened this issue Oct 17, 2019 · 0 comments

Comments

@BOR4
Copy link

BOR4 commented Oct 17, 2019

I've noticed that scrolling through token networks using arrows in networks section is slow and laggy on https://goerli.explorer.raiden.network.

I checked how app is getting data and noticed https://goerli.explorer.raiden.network/json call which returns every information it has and is needed to show "Network" and "Visualization". Additionally this call is performed every <10sec to sync data.

In my opinion several optimization steps should be considered:

  • split fetching data per token network (don't fetch all the data) and fetch only data for token network User is currently on
  • sync frequency should be significantly increased and button where user can sync data on demand exposed.
  • split API calls necessary for basic info shown in "Network" section and "Visualization".
  • don't trigger API call to fetch Visualization section until it is not part of User's view

I would just like to point out that currently there are 4 token networks registered on gorli and performance is already lacking.

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

No branches or pull requests

1 participant