DEV Community

Discussion on: Set Up a Decentralized Database with React and GunDB

Collapse
 
shnydercom profile image
Jonathan Schneider

Nice intro, I wonder how the p2p-exchange works in this example: Does the left browser window send it directly to the right one (and the server), or do only the nodes that call gun.serve() work by p2p?

Collapse
 
yokowasis profile image
Wasis Haryo Sasoko • Edited

I don't think p2p exchange works right now. When the relay peer crash or turned off. the data will stop syncing. it will resync again when the relay server turned on.