irislib / iris-messenger

Decentralized messenger
https://iris.to
MIT License
721 stars 159 forks source link

iris.to down? #78

Closed VzxPLnHqr closed 2 years ago

VzxPLnHqr commented 2 years ago

Hi there, I have been exploring Iris.to a bit (and some alternatives like https://github.com/fiatjaf/nostr ) However, it appears to me that the primary Gun DB peer for iris.to is down right now? When using the webapp, the little connection icon in the top-left says that I am connected to 0 peers.

trosel commented 2 years ago

Regarding Nostr, I wasn't aware of it but it seems very cool. Off the top of my head, what I like about Iris (and Gun) is that

  1. it allows for multi-device (your key is in the cloud, not on specific devices)
  2. it allows for deleting data (not sure if Nostr passes around delete requests or not)
  3. the data structure is just a graph, for everything. It's universal and easy to work with once you get the hang of it.

Both of these projects suffer from being divorced from economic incentives (and thus lack of node operators etc). Tokenized projects similar to these would be Session, Status, Sylo, etc. But none of these tokenized alternatives have an open SDK yet.

mmalmi commented 2 years ago

@VzxPLnHqr Thanks for letting me know, just resurrected it with the latest Gun version. It may be rattling under heavy load — could try spawning a dedicated server for Iris, since many people seem to be using gun-us.herokuapp.com for other projects.

Nostr seems to describe a flooding network. Flooding only scales as long as everyone is able to process every message, but beyond that you'll need publish-and-subscribe, where messages are only relayed to subscribers. Gun is also doing flooding and will need pubsub. I'm working on a rust port of Gun, which will hopefully improve performance and make the code more readable and easier to improve than gun.js.