Skip to content

performance issue #181

@BOR4

Description

@BOR4

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions