Lurker News

Comments (165) 50 threads

Earlier comments
learnstats21 reply#
This is a wonderful proof-of-concept and has potential applications in better decentralising web services.

Keep going!

cjfont2 replies#
However in this case, only the content is being decentralized, not the service itself.
losvedir2 replies#
Author here.

True, and a very clear way of putting it. Interestingly, since Erlang is so well-suited for distributed computing, and Phoenix (the web framework I'm using) has been built to take advantage of that, it wouldn't be too hard to let someone else spin up this same service and take part in distributing the content.
Off the top of my head, the only thing that wouldn't work is the "Currently Viewing" counter, which relies on this all running on a single heroku dyno. Otherwise, the socket messages are routed over a distributed PubSub layer, which should be pretty easy to tap into.

stephengillie#
It's a cool idea. What do you think about running it from an Android? (Isn't there an Apache APK?) So you can only view the page while connected to the phone's hotspot?

That would make it even more etheral.

hayksaakian#
could you also keep track of viewers on a per-server basis and simply add those numbers together on the fronted?

like if
server 1abcdef is managing 300 sockets server 2ghijkl is managing 200 sockets
then you just add those on the frontend

jbert#
Yes, but as long as the same method is used to generate the hash, the same browser could connect to multiple services and share the same content.

In that sense there needn't be a single service. Just a bunch of rendevous points for browsers-with-content to connect and announce what they have.

natrius1 reply#
This is very cool, and the content-addressable web is going to be a huge leap forward for permanence and publishing without needing to run a server. Lots of people are working towards this future. In particular, you should look into IPFS.

http://ipfs.io/

losvedir1 reply#
Oh wow, very cool. This is very much what I had in mind when thinking about a content addressable web. Thanks for the tip.
whyrusleeping#
Stop on by #ipfs on freenode irc, would love to chat :)
chaostheory2 replies#
> But why?

The first thing that came to my mind is that this could be a great tool to fight censorship

personjerry1 reply#
Unless everyone hosting the page gets arrested
chaostheory#
It's still practical since it makes things harder as opposed to one central location for a server.
olivier1664#
Or a snapchat utilities. Since the servers do not save contents, it can be a nice broadcast-and-forget network backbone.
apetresc2 replies#
Unfortunately it seems to have gone to 0 and therefore disappeared? =/
akumpf1 reply#
Hmm, I'm still viewing it, and it says 4 others are also viewing right now...
apetresc#
Oh, interesting. For me it's at 0 viewing, and stuck in a 'Requesting content' loop -- and of course, as I wrote that, it found a peer! :)
kreeben#
It's back.
TheLoneWolfling#
Seems to be dead

Load more comments