JavaScript connection manager for libp2p.
Features
- The ConnectionManager is responsible for managing the peers to which the current node is connected
- The application using ConnectionManager can set various limits, and if these limits are exceeded, the ConnectionManager will trigger the disconnection of peers
- When the limits are reached, the ConnectionManager will start disconnecting peers, starting from the least important ones
- By default, all peers have the same importance (1), but the application can define custom importance values for peers
- The ConnectionManager constructor can accept an optional options object
- Creation of ConnectionManager
Categories
File SharingLicense
MIT LicenseFollow libp2p-connection-manager
You Might Also Like
Gen AI apps are built with MongoDB Atlas
MongoDB Atlas provides built-in vector search and a flexible document model so developers can build, scale, and run gen AI apps without stitching together multiple databases. From LLM integration to semantic search, Atlas simplifies your AI architecture—and it’s free to get started.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of libp2p-connection-manager!