-
I have been using libp2p to build my applications for about 6 months. It is very complex, with many concepts and modules. Including requestresponse, gossipsub, kad, swarm, relay, hole punch, mdns, substream, quic, etc. I just saw the relevant introduction on redit. I have read the manual and have a basic understanding, but I still want to ask the relevant developers
I am sorry to ask a couple of questions about other libraries, but my next project, about two months later, will use these libraries including lroh, libp2p webrtc rs, and the general direction is real-time remote control software similar to teamview But it is mainly used for remote control of games, including picture, sound and remote control, so I try to understand the performance of these libraries as much as possible in advance. If the developers can answer a few questions for me, it will be very grateful. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Generally, we've put a lot of effort into making iroh "peer to peer connections that just work".
That's highly dependent on the actual libp2p transport that you're using, and with each transport come trade-offs.
We haven't run a comparison for that yet. That said, we've had some folks who are running iroh on millions of mobile phones report that it's roughly twice as performant as webrtc. Unfortunately, that's the best I can tell you right now and it's mostly word-by-mouth, we don't have the numbers ourselves. If you manage to get some numbers, we'd be excited to see what you end up with.
One of our earliest adopters was the shaga team, they've built something like that with iroh, so it's definitely fits what iroh was made for. |
Beta Was this translation helpful? Give feedback.
Generally, we've put a lot of effort into making iroh "peer to peer connections that just work".
This means we've kept the scope small: There's no DHT, swarm, or gossipsub. At least none of that is in iroh directly, but they're implemented as protocols on top, see e.g. iroh-gossip which provides gossipsub-like functionality.
I don't think there are many functions that iroh has that libp2p doesn't, it's just that we believ…