libp2p / libp2p/specs

Method to do pubsub over local network only

Open
#432 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
1.8k
Forks
320
Avg merge
11d 15h
Merged PRs (30d)
1

Description

Hello, I was talking to folks at the IPFS Thing last week about how I have a use case where I'd like to keep gossip to a particular network interface or to limit it to a local network.

The general use case is for local network service discovery / gossip which lets you find folks advertising data on your wifi hotspot/router rather than globally gossiping about a topic. For this use case the application would have a hardcoded "service discovery" topic so that peers wouldn't need an extra layer of data exchange to establish gossip.

I was wondering if this is something that could be done with the existing libp2p pubsub implementations or if it's something we could spec out as a standard.

I have some thoughts on how it could be done, but I wanted to do a temperature check on whether it's something we could spec out before writing too much about it.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the existing libp2p pubsub implementations and specifications, then examine whether interface or local-network limits can support service discovery on a hardcoded topic. Done would require an agreed scope and a specification or decision on whether this should become a standard; the issue names no files or tests.

Written by the indexing model from the issue text.

Assessment

Domain
distributed-systems, networking
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.