daviddias / webrtc-explorer

:earth_africa: P2P Network Routing Overlay designed for the Web platform (browsers)
MIT License
288 stars 32 forks source link

Eventually consistent global state #19

Open JAremko opened 8 years ago

JAremko commented 8 years ago

I'm thinking it can be useful if there was a way to create some kind of shared object between all peers and a mechanism to synchronize it.

For example, a bloom filter with an expiration date(while the previous one is valid (not expired) system tries to build the next one.) that stores IDs of all online users. This way we can know in advance if some peer is unavailable.

Removed nonsense

JAremko commented 8 years ago

Or a website state snapshot. Can be really great with something like Om server can sign webapp's state object and the p2p network will distribute it. Or with JWT... Sky is the limit :smile: