Breadcrumb context menu slow to appear when user has many local pins #1618
Labels
effort/days
Estimated to take multiple days, but less than a week
exp/intermediate
Prior experience is likely helpful
kind/bug
A bug in existing code (including security flaws)
kind/maintenance
Work required to avoid breaking changes or harm to project's status quo
need/analysis
Needs further analysis before proceeding
need/maintainers-input
Needs input from the current maintainer(s)
P2
Medium: Good to have, but can wait until someone steps up
Milestone
Something to be aware of: the more Pins user has, the slower
pin.ls
is.I have around 1k of pins and it takes 10 seconds to do pin check against all pinned blocks via URL executed by my browser:
This is result of inefficiencies in go-ipfs 0.6 (pinstore needs revamp, I use flatfs on slow spinning disk) but illustrates that if we block UI on pin status check, it may take 10 seconds or more.
I suggest we are cognizant of this possibility and audit our UI, decouppling "realtime" elements (breadcrumbs context menu – #1599) from
pin ls
for snappier interface.For example, when pinning service integration lands (ipfs/ipfs-gui#91), we could have static action in context menus to open "pin status modal" and fetch pin status (local+remote) only there.
The text was updated successfully, but these errors were encountered: