{"id":649388,"date":"2013-03-28T12:19:41","date_gmt":"2013-03-28T16:19:41","guid":{"rendered":"http:\/\/gigaom.com\/?p=625263"},"modified":"2013-03-28T12:19:41","modified_gmt":"2013-03-28T16:19:41","slug":"peercdn-uses-webrtc-to-build-a-browser-based-p2p-cdn","status":"publish","type":"post","link":"https:\/\/mereja.media\/index\/649388","title":{"rendered":"PeerCDN uses WebRTC to build a browser-based P2P CDN"},"content":{"rendered":"<p>Now this is cool: A group of web hackers has built a P2P-based CDN that crowdsources the delivery of data on a website with the help of a bit of Javascript. <a href=\"https:\/\/peercdn.com\/\">PeerCDN<\/a> as the project is called, is based on <a href=\"http:\/\/www.webrtc.org\/\">WebRTC<\/a>, an emerging technology that\u2019s been built to facilitate real-time communication like voice and video chat in the browser without the need for any plugin. From the PerCDN website:<\/p>\n<blockquote id=\"quote-%e2%80%9cpeercdn-aut\">\n<p>\u201cPeerCDN automatically serves a site&#8217;s static resources (images, videos, and file downloads) over a peer-to-peer network made up of the visitors currently on the site. Offloading part of the web hosting burden to site visitors reduces bandwidth costs.\u201d<\/p>\n<\/blockquote>\n<p>The project also made a screencast to explain their approach &#8211; check it out:<\/p>\n<p> <span class='embed-youtube' style='text-align:center; display: block;'><iframe class='youtube-player' type='text\/html' width='604' height='370' src='http:\/\/www.youtube.com\/embed\/PnBIIdmKO9o?version=3&#038;rel=1&#038;%23038;fs=1&#038;%23038;showsearch=0&#038;%23038;showinfo=1&#038;%23038;iv_load_policy=1&#038;%23038;wmode=transparent' frameborder='0'><\/iframe><\/span> <\/p>\n<p>PeerCND uses WebRTC\u2019s data channel protocol, which was designed to allow developers of real-time communication applications to have their participants exchange data other than audio or video. Think of a file transfer during a teleconference, or a multiplayer game based on WebRTC. And in the case of PeerCDN, it sends files of a website directly from visitor to visitor.<\/p>\n<p>The downside of this approach is that WebRTC is still in its infancy. The data channel protocol has been implemented in Chrome as well as nightlies of Firefox, which means that it will be available to the average Firefox user some time in the near future. Both browsers together \u201caccount for 58% of global browser usage,\u201d as the PeerCDN site points out.<\/p>\n<p>However, disputes around the way forward for WebRTC <a href=\"http:\/\/gigaom.com\/2013\/01\/17\/microsoft-cu-webrtc-prototype\/\">have complicated an implementation in Microsoft\u2019s Internet Explorer<\/a>, and there is no word yet from Apple whether it will support the technology in Safari. Still, site owners don\u2019t necessarily need all of their visitors to buy in, especially since PeerCDN can be combined with a traditional CDN.<\/p>\n<p>PeerCDN was built in part by Feross Aboukhadijeh, who is famous for some of his HTML5 exploits. Recently, Aboukhadijeh built a website that automatically filled up its visitors hard discs <a href=\"http:\/\/feross.org\/fill-disk\/\">with gigabytes of cat pictures<\/a>. Before that, he built a YouTube search site called <a href=\"http:\/\/ytinstant.com\/\">YTInstant.<\/a><\/p>\n<p><em>Image\u00a0<a href=\"http:\/\/creativecommons.org\/licenses\/by\/2.0\/\">courtesy of<\/a>\u00a0Flickr user\u00a0\u00a0<a href=\"http:\/\/www.flickr.com\/photos\/86979666@N00\/6990460438\/in\/photostream\/\">Tsahi Levent-Levi.<\/a><\/em><\/p>\n<p> <img loading=\"lazy\" decoding=\"async\" alt=\"\" border=\"0\" src=\"http:\/\/stats.wordpress.com\/b.gif?host=gigaom.com&#038;blog=14960843&#038;%23038;post=625263&#038;%23038;subd=gigaom2&#038;%23038;ref=&#038;%23038;feed=1\" width=\"1\" height=\"1\" \/><\/p>\n<p><a href=\"http:\/\/pubads.g.doubleclick.net\/gampad\/jump?iu=\/1008864\/GigaOM_RSS_300x250&#038;sz=300x250&#038;%23038;c=760648\"><img decoding=\"async\" src=\"http:\/\/pubads.g.doubleclick.net\/gampad\/ad?iu=\/1008864\/GigaOM_RSS_300x250&#038;sz=300x250&#038;%23038;c=760648\" \/><\/a><\/p>\n<p><strong>Related research and analysis from GigaOM Pro:<\/strong><br \/>Subscriber content. <a href=\"http:\/\/pro.gigaom.com\/?utm_source=tech&#038;utm_medium=editorial&#038;utm_campaign=auto3&#038;utm_term=625263+peercdn-p2p-cdn&#038;utm_content=jroettgers\">Sign up for a free trial<\/a>.<\/p>\n<ul>\n<li><a href=\"http:\/\/pro.gigaom.com\/2013\/01\/ces-2013-flash-analysis-disruptions-and-disappointments-from-consumer-techs-biggest-show\/?utm_source=tech&#038;utm_medium=editorial&#038;utm_campaign=auto3&#038;utm_term=625263+peercdn-p2p-cdn&#038;utm_content=jroettgers\">GigaOM Research highs and lows from CES 2013<\/a><\/li>\n<li><a href=\"http:\/\/pro.gigaom.com\/2013\/01\/how-hr-can-make-the-case-for-workforce-analytics\/?utm_source=tech&#038;utm_medium=editorial&#038;utm_campaign=auto3&#038;utm_term=625263+peercdn-p2p-cdn&#038;utm_content=jroettgers\">How HR can make the case for workforce analytics<\/a><\/li>\n<li><a href=\"http:\/\/pro.gigaom.com\/2013\/01\/the-2013-task-management-tools-market\/?utm_source=tech&#038;utm_medium=editorial&#038;utm_campaign=auto3&#038;utm_term=625263+peercdn-p2p-cdn&#038;utm_content=jroettgers\">The 2013 task management tools market<\/a><\/li>\n<\/ul>\n<p><img width='1' height='1' src='http:\/\/gigaom.feedsportal.com\/c\/34996\/f\/646446\/s\/2a1a9f6d\/mf.gif' border='0'\/><\/p>\n<div class='mf-viral'>\n<table border='0'>\n<tr>\n<td valign='middle'><a href=\"http:\/\/share.feedsportal.com\/viral\/sendEmail.cfm?lang=en&#038;title=PeerCDN+uses+WebRTC+to+build+a+browser-based+P2P+CDN&#038;link=http%3A%2F%2Fgigaom.com%2F2013%2F03%2F28%2Fpeercdn-p2p-cdn%2F\" ><img decoding=\"async\" src=\"http:\/\/res3.feedsportal.com\/images\/emailthis2.gif\" border=\"0\" \/><\/a><\/td>\n<td valign='middle'><a href=\"http:\/\/res.feedsportal.com\/viral\/bookmark.cfm?title=PeerCDN+uses+WebRTC+to+build+a+browser-based+P2P+CDN&#038;link=http%3A%2F%2Fgigaom.com%2F2013%2F03%2F28%2Fpeercdn-p2p-cdn%2F\" ><img decoding=\"async\" src=\"http:\/\/res3.feedsportal.com\/images\/bookmark.gif\" border=\"0\" \/><\/a><\/td>\n<\/tr>\n<\/table>\n<\/div>\n<p><a href=\"http:\/\/da.feedsportal.com\/r\/161990754548\/u\/49\/f\/646446\/c\/34996\/s\/2a1a9f6d\/a2.htm\"><img decoding=\"async\" src=\"http:\/\/da.feedsportal.com\/r\/161990754548\/u\/49\/f\/646446\/c\/34996\/s\/2a1a9f6d\/a2.img\" border=\"0\"\/><\/a><img loading=\"lazy\" decoding=\"async\" width=\"1\" height=\"1\" src=\"http:\/\/pi.feedsportal.com\/r\/161990754548\/u\/49\/f\/646446\/c\/34996\/s\/2a1a9f6d\/a2t.img\" border=\"0\"\/><\/p>\n<div class=\"feedflare\">\n<a href=\"http:\/\/feeds.feedburner.com\/~ff\/OmMalik?a=HcmJXLx1HUw:upCNvtgZJbc:yIl2AUoC8zA\"><img decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~ff\/OmMalik?d=yIl2AUoC8zA\" border=\"0\"><\/img><\/a>\n<\/div>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~r\/OmMalik\/~4\/HcmJXLx1HUw\" height=\"1\" width=\"1\"\/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Now this is cool: A group of web hackers has built a P2P-based CDN that crowdsources the delivery of data on a website with the help of a bit of Javascript. PeerCDN as the project is called, is based on WebRTC, an emerging technology that\u2019s been built to facilitate real-time communication like voice and video [&hellip;]<\/p>\n","protected":false},"author":2854,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-649388","post","type-post","status-publish","format-standard","hentry","category-news"],"_links":{"self":[{"href":"https:\/\/mereja.media\/index\/wp-json\/wp\/v2\/posts\/649388","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mereja.media\/index\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mereja.media\/index\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mereja.media\/index\/wp-json\/wp\/v2\/users\/2854"}],"replies":[{"embeddable":true,"href":"https:\/\/mereja.media\/index\/wp-json\/wp\/v2\/comments?post=649388"}],"version-history":[{"count":0,"href":"https:\/\/mereja.media\/index\/wp-json\/wp\/v2\/posts\/649388\/revisions"}],"wp:attachment":[{"href":"https:\/\/mereja.media\/index\/wp-json\/wp\/v2\/media?parent=649388"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mereja.media\/index\/wp-json\/wp\/v2\/categories?post=649388"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mereja.media\/index\/wp-json\/wp\/v2\/tags?post=649388"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}