7 min read
Sia´s Skynet is a relatively new content distribution network (CDN) which is able to serve content on the Sia network. Before Skynet, the way you share files stored on Sia was not so easy.
you will need to build your own custom website that uses Sia as a back-end storage provider. But now whit Skynet every one can put they files on the Sia network, where you get a link to publish anywhere you wish
Guide to Using Sia Skynet
The way to use Sia Skynet. First you need to go to the website, where you can upload or download files. There are two ways you can upload a file in a public portal or a web portal.
In the public portals this file can only be active for a certain time, when the time expires you could re-upload the file, or re-pin the file and assume a storage cost yourself if you want the file to be accessible.
Meanwhile in a web portal the operator assumes the cost for storing and transferring the file.
What does this mean? the portal operator essentially owns your file on Skynet because they are the one paying to store it.
In Skynet the content uploaded publicly is deleted in 3 months after this the portal operator assumes the cost for storing the file, and so they may let the file expire, anybody could re-pin the file, but doing this has a fee for keeping the file online.
In Skynet if you upload a copyrighted or illegal content the portal operators may blacklist your Skylink, in case you get blacklisted and you really need to get the content to be online, the best way is uploading it via your own local Sia client.
A curios data for Sia it’s his currently has a limitation of 40 mb atomic file size, which means the smallest file that Sia can handle is a 40 mb you can upload a 5 mb file but it will be treated as a 40 mb file so if a lot of little files are uploaded every file will be treat as a 40mb, but if you upload a zip that contents all the little files, and the file size is 40 MB at least, you will not waste file space.
What does a Re-ping mean?
As long as one person keeps to pin a Skyline, the file will be available on Skynet. Once you pin a file, the rent starts and is renewed every 3 months and an alert will be sent to you the last month to go log in your Sia client to renew your contract.
If you re-pin somebody else’s Skylink, it will be copied to your Sia rental storage and you will need to pay the bills for that Skylink every 3 months if you want to see the file online.
Skynet Limitations and Considerations
Is not recommended to store critical data on Sia or Skynet without having another backup because Sia and Skynet are still in development.
The use of Skynet is limited because the Sia-Ui does not yet fully support Skynet.
The normal rent limitations still apply to Skynet files if you want your file to be online, you need to launch your local Sia client; in actuality, you cannot open the web and pay for maintaining the file online.
By default, all the files you upload to Skynet are unencrypted and public, so if you want to upload a backup of your files, rent a space on Sia.
If you upload your files via a Skynet web portal, you will don’t know when the files may take down. The best thing you could do is upload them from your own Sia client.
Goal behind the creation of Skynet
Internet freedom it’s his main goal, they believe in the decentralized info, and they want to all data could be publish and seen by everyone and everywhere, where is no barriers imposed by the borders or the governments
Skynet main components
Skynet has three major components: server-type modules called portals, links called Skylinks, and the traditional Sia storage network
The Skylinks is the link to a file that was uploaded to Skynet. When this file was uploaded to the Sia storage network, will become accessible through a portal
Portals in Skynet
You could run your own portal, but this may need a little bit of work. There are two ways to set up a portal: a private portal, with or without a web interface, or publicly, where everybody can see and use your portal. Either way, to open a portal you need to pay 10$ a month.
Even if you are using a private portal, the content uploaded via this portal is public by default, if they found the Skylink of your content, it can be accessed by everybody who has the link.
In the case you decide to run a public portal may have a legal risk, and you may need to take down some files and make your own filters and control the data, you must remember a public portal is the same as a web hosting provider. Will you never know what enters from the door, also you should know something from Linux, and some system requirements:
°A dedicated server or VPS with root access
°A minimum of 8GB RAM
°A quad-core processor or better
°Several hundred gigabytes of solid-state storage (for multiple copies of the Sia consensus and caching of downloads)
°An unmetered gigabit network connection
°About 50,000 Siacoins to start, and 10,000 Siacoins per month in operation costs for a typical Portal (may vary with current Siacoin pricing)
The Sia Storage Network
This is where all the files are sent to be stored, the Sia renters can decide to upload the file as a Skynet item, which uploads the file and creates a Skylink. Because of this all Skynet data resides in Sia hosts.
Skynet uploads are different, Cia data uses an algorithm called Reed-Solomon codes, to a level of 3x redundancy. Meanwhile, Skynet uploads the files in one-piece with 10x redundancy by default, across multiple hosts.