Skip to content

Bug report: Programs with massive accounts amounts breaks the UI and node.js #3

Open
@gonzaotc

Description

@gonzaotc

Bug Description

  1. Programs with many accounts break the UI arrow relationship indicators. Nonetheless, with our testnet marketplace, ~2000 accounts, all seem to appear correctly on the UI. I could scroll to see them all, even if the arrows didn't point right.

  2. Additionally, when I tried with our mainnet marketplace ~0.5 MM accounts, even node.js broke when pulling the accounts. This leads me to think the underlying strategy should differ for large real-world apps.

Evidence

  1. arrow relationship indicator breaks
Image
  1. node.js maximum call stack size exceeded
Image

Proposed Solution/Improvement

I suggest modifying the UI to allow for "progressive pulling." Pull the main programs and some accounts instead of pulling every account at the start. Then, add buttons on the UI to load more optionally, populating the UI as the accounts load.

This would first make it a cleaner and unloaded UI, enabling progressive visualization of large programs and relationships while reducing the heavy load Node.js has to take at the tool startup.

Great tool!

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