mirror of
https://github.com/libp2p/go-libp2p-peerstore.git
synced 2025-01-16 02:50:07 +08:00
an object to manage sets of peers, their addresses and other metadata
6d5cedf098
We switched to a slice to reduce the amount of memory the peerstore ended up taking up unfortunately, this really killed us in allocations. Looking at go-ipfs profiles, I'm worried that memory fragmentation is killing us so I'd like to revert to the old behavior. Note: The real solution here is dealing with "address abusers". |
||
---|---|---|
.gx | ||
addr | ||
pstoreds | ||
pstoremem | ||
queue | ||
test | ||
.gitignore | ||
.travis.yml | ||
codecov.yml | ||
interface.go | ||
LICENSE | ||
Makefile | ||
metrics_test.go | ||
metrics.go | ||
package.json | ||
peerinfo_test.go | ||
peerinfo.go | ||
peerstore.go | ||
README.md |
go-libp2p-peerstore
An object to manage peers, their addresses, and other metadata about them.
Install
go get github.com/libp2p/go-libp2p-peerstore
Usage
Check out the GoDocs.
Contribute
Feel free to join in. All welcome. Open an issue!
This repository falls under the IPFS Code of Conduct.
Want to hack on IPFS?
License
MIT