3 ms·
The browser demo does seem to be working, however it seems very slow? Beautiful interface though! One of the best I've seen yet. What is going on underneath? A
by marknadal 10y ago
The browser demo does seem to be working, however it seems very slow? Beautiful interface though! One of the best I've seen yet.
What is going on underneath? Are you guys using WebSocket or WebRTC? The reason I ask is because I wrote an interactive coding tutorial for building a distributed chat app ( http://gun.js.org/converse.html http://gun.js.org/converse.html ), and it uses WebSockets to communicate with a federated relay peer server. I'm hoping to add WebRTC support but I'm curious what you guys are doing. Like, IPFS doesn't have pub/sub support right? So did you add this?
- namelezz 10y agoIt seems they use Go IPFS[1]. [1] - https://github.com/haadcode/ipfs-daemon/blob/master/ipfs-daemon.js#L6 https://github.com/haadcode/ipfs-daemon/blob/master/ipfs-dae...
- diggan 10y agoThe version deployed at orbit.libp2p.io is using orbit-db which is using redis to do pubsub right now. However, pubsub is being worked on and exists in for example go-ipfs#master right now under a feature flag. Run `ipfs pubsub --help` after build from source to try it out. It's also being worked on getting into js-ipfs.