23 min read
librats vs libp2p: what a 5 MB peer-to-peer node buys you
Benchmarking librats, my C++ peer-to-peer library, against js-libp2p: 22x less memory, a 9.3x small-message gap, and a dead heat on bulk throughput.
2 articles
Benchmarking librats, my C++ peer-to-peer library, against js-libp2p: 22x less memory, a 9.3x small-message gap, and a dead heat on bulk throughput.
librats is an MIT-licensed peer-to-peer library: encrypted transport, mainline DHT discovery, NAT traversal and pub/sub in 5 MB for C++, Node.js, Python and Android.