User Tools

Site Tools


host:hosting



Hosting

Hosts (also called farmers) hold data on the Sia network. They get paid to perform this important task, and ultimately form the backbone of the data network called Sia.

Responsibilities

Hosts on the Sia network are burdened with more responsibility than hosts on other networks. Sia aims to be highly reliable in an environment where people are actively attacking the network. This means that hosts need to be reliable, and there also needs to be a way to be confident that attackers pretending to be hosts are not mistaken for actual hosts.

Reliability

Hosts are expected to achieve 95-98% uptime and reliability. This is actually not very much compared to traditional hosting solutions. Hosts are allowed to have hours of downtime every week, but in general must be running all the time.

Collateral

Hosts are expected to put up collateral on data that they store. Typical peer to peer hosting networks struggle with churn, frequently because hosts get bored and leave. Sia handles this in two ways. First, hosts are paid for not leaving. But second, hosts promise not to leave by putting up some of their own money as collateral which is forfeit if the host leaves before the contract is completed.

Proof of Burn

Hosts are expected to burn coins to prove legitimacy. This is required to solve the Sybil Attack. Hosts ultimately are expected to burn between 0.25% and 2.5% of their total revenue to demonstrate legitimacy. What this ultimately means is that an attacker attempting to pretend to be 10 million legitimate hosts has to burn revenue equivalent to 25,000-250,000 legitimate hosts - it's extremely expensive to pretend to be a host when the proof of burn mechanic is being used. Renters will only feel comfortable using hosts that have used proof of burn to demonstrate legitimacy.

Competition

Hosts have the freedom to set their own prices. Renters then compare these prices against the features offered by the hosts and decide which hosts are most beneficial to them.

The host can set prices over 6 resources:

  • The cost (flat fee) of creating a contract with the host
  • The cost (per volume of collateral) of creating a contract with the host
  • The cost (per byte) of uploading data to the host
  • The cost (per byte) of downloading data from the host
  • The cost (per byte per month) of storing data on the host
  • The cost (per access) of reading data from the host

Renter measure hosts across a wide number of metrics. Renters that do a lot of downloading will prefer low download prices. Renters looking for infrequent-access storage will prefer low storage prices. Renters can also discriminate on other features:

  • Latency - the minimum amount of time the host can give data to the renter
  • Throughput - the maximum speed at which the host can give data to the renter
  • Geography - the country or continent in which the host resides
  • Age - hosts that have been reliable hosts for 9 months are more attractive than fresh/new hosts
  • Anything - renters can prioritize any feature, the hosts do not always know what renters are looking for

Every renter forms contracts with about 50 hosts.

Setting up

Graphical

:!: If you're a Windows user you will have to run Sia-UI as administrator, or setting up storage won't work.

  1. Download Sia-UI and install it in some directory.
  2. Create a wallet and unlock it.
  3. Deposit some money (will be used for collateral).
  4. Open the host tab and configure your pricing.
  5. Add some host folders, where the uploaded data will be stored.
  6. Enable “Accepting contracts”.
  7. Click “Announce” to make your host visible to the renters. This will put your IP address in the blockchain.

Command-line

Official (but out of date) guide for setting up hosting through the terminal: How to run a host on Sia.

host/hosting.txt · Last modified: 2017/06/15 15:21 by forest