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

Integrate/expose go-libp2p resource manager #8761

Closed
18 of 20 tasks
BigLep opened this issue Mar 3, 2022 · 17 comments · Fixed by #8680
Closed
18 of 20 tasks

Integrate/expose go-libp2p resource manager #8761

BigLep opened this issue Mar 3, 2022 · 17 comments · Fixed by #8680
Assignees
Labels
Milestone

Comments

@BigLep
Copy link
Contributor

BigLep commented Mar 3, 2022

go-libp2p v18 is shipping with a resource manager - yahoo! This issue encompasses the work to fully land this as a feature exposed to go-ipfs users. This includes:

Total 2022-04-01 estimate: 12 (rounded up from 11.5)

Note: doing the configuration part will be easier once config is moved back into go-ipfs: ipfs/go-ipfs-config#151

@BigLep BigLep added this to the go-ipfs 0.13 milestone Mar 3, 2022
@BigLep
Copy link
Contributor Author

BigLep commented Mar 4, 2022

Assigned to @marten-seemann currently since he is doing some of the initial work. He'll ultimately need a go-ipfs partner for landing these changes and tieing up anything else.

@BigLep
Copy link
Contributor Author

BigLep commented Apr 8, 2022

@guseggert : I put you as the owner now give you're doing the long-pole work of finding any landmines from production deployments. This should be prioritized first, and while collecting data we can work on #8858

@BigLep
Copy link
Contributor Author

BigLep commented May 12, 2022

2022-05-12 conversation: we're looking good. Deployments to other banks is happening in https://github.com/protocol/bifrost-infra/issues/1815.

Resolving for now. We'll engage if Bifrost raises any issues as they continue to deploy.

@BigLep BigLep closed this as completed May 12, 2022
@lidel lidel mentioned this issue May 31, 2022
3 tasks
@lidel
Copy link
Member

lidel commented May 31, 2022

@BigLep I assumed we are reopening this due to:

lmk if I missed anything

@ajnavarro ajnavarro self-assigned this Sep 20, 2022
@BigLep
Copy link
Contributor Author

BigLep commented Sep 27, 2022

2022-09-27:

https://github.com/ipfs/kubo/blob/master/core/node/libp2p/rcmgr_defaults.go#L21

@ajnavarro
Copy link
Member

@BigLep may the notion link be wrong?

@BigLep
Copy link
Contributor Author

BigLep commented Sep 28, 2022

@BigLep
Copy link
Contributor Author

BigLep commented Sep 29, 2022

2022-09-29:

@BigLep
Copy link
Contributor Author

BigLep commented Nov 10, 2022

@ajnavarro : FYI that I've been updating the checklist and status based on what I know. I just added two items:

  1. Confirm that the system scope limits protect nodes (and not just the peer scope limits) per feat: Improve ResourceManager UX #9338 (comment)
  2. On by default: This should show up in https://github.com/ipfs/kubo/blob/master/docs/changelogs/v0.17.md

@ajnavarro
Copy link
Member

@BigLep see my comment here related to point 1: #9338 (comment)

@BigLep
Copy link
Contributor Author

BigLep commented Nov 15, 2022

@ajnavarro
Copy link
Member

@BigLep see PR #9407

@BigLep
Copy link
Contributor Author

BigLep commented Nov 16, 2022

@ajnavarro : for changelog and other doc updates, see #9413 . I know you were going to take the changelog, but I jumped in here while thinking about other doc improvements we should make. Feel free to make any changes and merge the PR so the RC can be cut.

Also, I think we Bifrost Gateway configuration should simplify to this: https://github.com/protocol/bifrost-infra/issues/1815#issuecomment-1316651157

@BigLep
Copy link
Contributor Author

BigLep commented Nov 17, 2022

@ajnavarro : I assume this is possible but I also don't recall seeing it: how does someone learn what limits are actually passed to libp2p. I know we have ipfs swarm stats all to get current usage, but I want to be able to see what the limits are. I don't see any logging for it in https://github.com/ipfs/kubo/blob/master/core/node/libp2p/rcmgr.go#L32

@ajnavarro
Copy link
Member

@BigLep ipfs swarm limit all

@BigLep
Copy link
Contributor Author

BigLep commented Nov 18, 2022

@ajnavarro : thanks. I made a docs update here: #9421

@BigLep
Copy link
Contributor Author

BigLep commented Dec 1, 2022

@ajnavarro : I created a tracking issue for the critical followups we need to do: #9442

Please go ahead and edit/update with the workstreams.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Archived in project
Development

Successfully merging a pull request may close this issue.

5 participants