I put together an app built on Blockstack that is kind of a decentralized version of Slack. Really, I just wanted a toy example to play with the technology.
Right now my implementation replies on polling other users Gaia storage to see when they have posted new messages to channels. I’m wondering to what extent this is acceptable? Would it be a better idea to stand up a centralized service somewhere to provide pub-sub notifications? This would take a lot of load off of Gaia storage (I would only pull files when there is actually a new message) but it would add a central point of failure, and also add to my operating costs (I’m no longer only hosting static content). Thoughts?
If you want to see what I built, the app is here: https://blockslack.io/ and the source is here: https://github.com/djnicholson/blockslack It’s only a few days work so far, so it won’t hurt my feelings if the polling architecture is a terribly bad idea