The Future of Content Hosting and Delivery?
Tags: discuss, cdn, web3, storage
Published: 2020-07-27 23:30:14

---
title: The Future of Content Hosting and Delivery?
published: true
description: Is the future of cloud storage one that leverages blockchain technology and decentralization?
tags: #discuss #cdn #web3 #storage
cover_image: https://dev-to-uploads.s3.amazonaws.com/i/1l8ozv2v3m1aefita0w4.png
---

If you’ve used [jsDelivr](https://www.jsdelivr.com/), [GitHub Pages](https://pages.github.com/), [Google Fonts](https://fonts.google.com/), and or [unpkg](https://unpkg.com/) then you’ve used a CDN (Content Delivery Network).

I spent a little over five years working for a CDN (Long Live MaxCDN!) and toward the end, the market was getting super competitive, saturated, and profit margins were becoming extremely thin. We ended up getting [acquired](https://techcrunch.com/2016/07/25/security-as-a-service-startup-stackpath-nabs-180m-4-acquisitions-including-maxcdn/) by a company that offers more web services than just content delivery which is definitely needed in order to survive in the highly competitive cloud computing market.

![MaxCDN Network Map](https://dev-to-uploads.s3.amazonaws.com/i/7pyf3lcmt3xuw1yx1kbe.png)

<small><center>MaxCDN’s Network circa 2014</center></small>

I haven’t worked at a CDN for a while but I still keep tabs on what is happening. When I was still in the game, I never even thought about CDNs that would end up using a blockchain as a way to distribute content on a global scale. That was until I discovered [Sia](https://sia.tech/) (not the amazing singer-songwriter).

If you haven’t heard of Sia, it’s a decentralized cloud storage platform that leverages blockchain technology to create a data storage marketplace.  The creators claim that it’s more robust and more affordable than traditional cloud storage providers but I haven’t checked those claims in a production environment for myself. I’m just going to give them the benefit of the doubt and ask anyone reading this to please comment below if you can share your experience.

One product that uses the Sia network is [Skynet](https://siasky.net/) is “The decentralized CDN and file sharing platform for devs.” If I was still in the CDN biz this would make me a _little_ worried. Margins are thin enough! Regardless, I’m excited to see a CDN product built outside the box. The last _exciting_ thing I saw in the CDN space was [Peer5](https://www.peer5.com/), which operates a large peer-to-peer (p2p) CDN by leveraging WebRTC and JavaScript.

![The Sia Network](https://dev-to-uploads.s3.amazonaws.com/i/y0ycd9z8asstpog3o3gf.png)

<small><center>[Sia's Skynet Network](https://siastats.info/hosts_map) (2020)</center></small>

What I like about Skynet is that they actually show you (a DEVeloper) how to get started right away. Here a simple code sample written in JavaScript to show you how easy it is to upload an image:

```javascript
const skynet = require('@nebulous/skynet');

(async () => {
 const skylink = await skynet.UploadFile(
   './sia-namebase-gitcoin-hackathon.png',
   skynet.DefaultUploadOptions
 )
 console.log(`Uploaded! 👉 ${skylink}`.replace('sia://', 'https://siasky.net/'))
})()
```

As you may have noticed, there is no API key required! 🎉 Once it’s uploaded it will give you a URL [to your file](https://siasky.net/PACROgvZaKLHOauEy6e9ePm04hBJ1U6DxIjTVq6TeOO-SQ)`*`:


```
$ node siaskynet.js 
Uploaded! 👉
https://siasky.net/PACROgvZaKLHOauEy6e9ePm04hBJ1U6DxIjTVq6TeOO-SQ
```

`*` supported file types: HTML, PDF, Image, Audio, Video, JSON, Dapp

## What do you think?
Could Sia/Skynet be the future of storage platforms and CDNs? Why or why not?

> **P.S.** Sia and Namebase are throwing a virtual hackathon on Gitcoin called [Own The Internet](https://gitcoin.co/hackathon/own-the-internet/onboard). If this type of tech interests you, [sign up](https://gitcoin.co/hackathon/own-the-internet/onboard). It starts from July 29th to Aug 19th, 2020. There is no entry fee, and it’s open to all regardless of whether you are a beginner or a Web3 expert. 👨🏽‍💻👩‍💻