News for hackers. Stuff that matters.
Re:WebRTC file sharing broker using Elixir Phoenix by astazangasta on Thursday August 13, 2015 @11:53AM (#10055095)
Could you deploy an automatic mirror like this, so you can turn your clients into a temporary CDN while they have your page loaded?
Re:WebRTC file sharing broker using Elixir Phoenix by userbinator on Thursday August 13, 2015 @12:22PM (#10055326)
I think it's not really advisable to do that, for privacy reasons:

https://news.ycombinator.com/item?id=9112717

https://news.ycombinator.com/item?id=9893561

Also your CDN'ing clients could serve different content, giving some of your visitors a random surprise...

Re:WebRTC file sharing broker using Elixir Phoenix by SXX on Thursday August 13, 2015 @12:28PM (#10055359)
You can easily avoid "surprise" by hashing content, but malicious clients still will be able to delay content load.
Re:WebRTC file sharing broker using Elixir Phoenix by VMG on Thursday August 13, 2015 @12:24PM (#10055334)
you can authenticate the content to prevent that
Re:WebRTC file sharing broker using Elixir Phoenix by zabi_rauf on Thursday August 13, 2015 @12:09PM (#10055220)
Yep you can. There was this http://peercdn.com/ that did that and I remember a post on HN where it served the page from other clients but used web sockets instead.
Re:WebRTC file sharing broker using Elixir Phoenix by Nadya on Thursday August 13, 2015 @01:25PM (#10055797)
>This page exists only if someone is looking at it

https://news.ycombinator.com/item?id=9531265