-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
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.
Metadata
Metadata
Assignees
Labels
No labels