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

Next Step Microgrant: go-libp2p impovements for metrics, dialing logic and AutoNat v2 #1431

Closed
sukunrt opened this issue Feb 25, 2023 · 3 comments
Assignees

Comments

@sukunrt
Copy link

sukunrt commented Feb 25, 2023

1. What is your project, and what problem does it solve? (max 100 words)

This project involves improving go-libp2p's metrics, dialing logic and implementing a next version of the AutoNat protocol.

The metrics will be very useful to allow operators to see what’s going on inside their IPFS/Lotus node.
Better dialing logic will have a big performance impact on the IPFS/Lotus/other networks by reducing load on peer and network (caused by spamming network with many dial requests per peer.)
AutoNat v2 can be seen as another concrete optimization where we stop advertising un-dialable addresses to the network. This becomes more important once better dialing is implemented, since unsuccessful dial attempts will then actually increase connection establishment latency.

2. Project links

Link to Github repo: https://github.com/libp2p/go-libp2p/
Link to demo or website: n/a
License: https://github.com/libp2p/go-libp2p/blob/master/LICENSE

3. a) How is IPFS, Filecoin, or related technology used in this project?

This project contributes to go-libp2p, which is relied on as the networking library within IPFS, Lotus, and other web3 projects.

b) Is this project building with the current microgrants focus area (FVM)? (Yes or No)

No.

4. How will you improve your project with this grant? What steps will you take to meet this objective?

Number Grant Deliverable Briefly describe how you will meet deliverable objectives Timeframe (within 3 months)
1. libp2p/go-libp2p#1356 Work on this is already in progress. go-libp2p is taking a piecemeal approach in adding metrics to various components (some examples: libp2p/go-libp2p#2086, libp2p/go-libp2p#2119, libp2p/go-libp2p#2114, etc.) 1.5 weeks
2. libp2p/go-libp2p#1785 By working with the go-libp2p team, answering open questions, and implementing the design described in the GitHub issue. 3 weeks
3. libp2p/specs#503 By working with the libp2p maintainers to create a working draft of the specification, and implementing it in go-libp2p 3 weeks

5. If accepted, do you agree to share monthly project updates in this Github issue for 3 months or until the project described here is complete?

Yes.

6. Does your proposal comply with our Community Code of Conduct?

Yes.

7. Links and submissions

  • If your project began at a hackathon, have you submitted it for the relevant Protocol Labs prizes? Include links here if available:
    No.

Additional questions:

  • For each team member(s), please list name, email, Github account, and role in the project.

  • How did you learn about our microgrant program?

    • From the EngRes IP Stewards libp2p maintainers (go-libp2p team)
  • If your project was created as part of an event or hackathon:

    • What was the name of the event? (e.g. ETHGlobal NFTHack, Cal Hacks hello:world, Chainlink, CivHacks, GameDevJ, ETHGlobal Scaling Ethereum)
    • Please link to your hackathon submission

    N/A

@p-shahi
Copy link

p-shahi commented Feb 25, 2023

Hi, @ErinOCon, this is Prithvi from PL EngRes (libp2p TPM in the IP Stewards team), endorsing this microgrant on behalf of the go-libp2p implementers. cc: @BigLep @marten-seemann

@marten-seemann
Copy link

Same here, endorsing this microgrant.

@ErinOCon
Copy link
Collaborator

ErinOCon commented Mar 3, 2023

Hi @sukunrt, this microgrant has been approved! We will send an email to confirm payment details. Please note that your final grant report is due within three months and can be submitted here. Please let us know if you have any questions!

@ErinOCon ErinOCon closed this as completed Mar 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants