MCPcopy Index your code
hub / github.com/Netflix/p2plab

github.com/Netflix/p2plab @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
900 symbols 3,138 edges 142 files 119 documented · 13%
What it actually does AI analysis from the code graph — generated when you open this
loading…

Extension points exported contracts — how you extend this code

Labeled (Interface)
Labeled defines a resource that has labels. [7 implementers]
query.go
Scenario (Interface)
Scenario is a schema for benchmarks that describes objects to benchmark, how the cluster is initially seeded, and what t [6 …
scenario.go
Node (Interface)
Node is an instance running the P2P application to be benchmarked. [6 implementers]
node.go
BenchmarkAPI (Interface)
BenchmarkAPI defines API for benchmark operations. [4 implementers]
benchmark.go
ExperimentAPI (Interface)
ExperimentAPI is an unimplemented layer to run experiments, a collection of benchmarks while varying some aspect. [4 implementers]
experiment.go
ClusterAPI (Interface)
ClusterAPI defines API for cluster operations. [4 implementers]
cluster.go
Router (Interface)
(no doc) [9 implementers]
daemon/router.go
Downloader (Interface)
Download downlaods artifacts from an external distribution mechanism. [3 implementers]
distribution.go

Core symbols most depended-on inside this repo

String
called by 85
query.go
Close
called by 78
metadata/db.go
Get
called by 49
peer.go
CommandContext
called by 36
pkg/cliutil/attach.go
NewRequest
called by 36
pkg/httputil/client.go
Send
called by 35
pkg/httputil/request.go
Option
called by 33
pkg/httputil/request.go
Metadata
called by 32
node.go

Shape

Method 404
Function 312
Struct 124
Interface 39
FuncType 14
TypeAlias 7

Languages

Go100%

Modules by API surface

metadata/db.go55 symbols
cluster.go22 symbols
query/query.go20 symbols
metadata/buckets.go20 symbols
metadata/benchmark.go18 symbols
daemon/router.go18 symbols
metadata/experiment.go17 symbols
metadata/cluster.go17 symbols
distribution.go17 symbols
peer.go16 symbols
metadata/scenario.go16 symbols
peer/peer.go15 symbols

For agents

$ claude mcp add p2plab \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact