SlabtestnetRun a node

Try it yourself

Live demo

Store a file of your own and get a link to it, stream a video, or load this website, all straight from the Slab testnet through its public gateway. You measure; we don't.

Store your own

Pick a file of up to 2 GB, or a folder with a website in it. It's encrypted, cut into shards and spread over the testnet's nodes, and you get a link that plays, opens or downloads it through the gateway.

Video

Streamed from Slab with HTTP range reads, so playback starts before the file has downloaded, and seeking fetches only the part you jump to.

VideoFirst frameStallsTime stalledSeek
1080p––––
4K––––
  • 1080p: Big Buck Bunny, 1080p H.264, 9:56, 170 MB, about 2.3 Mbit/s · open the file
  • 4K: Big Buck Bunny, 2160p60 H.264, 3:30 clip, 1.03 GB, about 40 Mbit/s · open the file

Website

This website, stored on Slab as a directory and loaded in a frame: HTML, CSS, fonts and images, each a separate request.

Loaded
–
Open it in a new tab

What happens when you upload

  1. Your browser sends the file to our upload server in chunks.
  2. The server encrypts it with a fresh key, cuts it into slabs and erasure-codes every slab into shards, then stores each shard on a different node, paid with vouchers from the demo’s own wallet.
  3. You get a link with the file’s address and its key. The gateway at files.slab.me.uk fetches enough shards for each part you read, checks and decodes them, and streams the result to your browser. A website’s pages, styles and images are each fetched this way.

What the numbers mean

  • First frame: time from pressing play until the video plays. It includes finding the shard holders, fetching the file’s manifest and decoding the first slabs.
  • Stalls: how often playback stopped to wait for data, and for how long in total.
  • Seek: jump to the middle and time how long until it plays again. Only the slabs around that point are fetched (an HTTP range read).
  • Website: time until this website has finished loading in its frame.

How to read the result

  • Location matters. All of the testnet’s nodes and the gateway are in one data centre in Germany, so readers near it see faster loads than readers far away.
  • Caches. Every request carries a random ?nocache= value, so neither your browser nor the CDN in front of the gateway can answer it from a stored response: each byte comes from the storage nodes. A file read often may still be in the nodes’ memory, so the first viewer of the day waits longest.
  • The testnet can be reset, and uploads are paid for 30 days. Don’t store anything you can’t lose.

Big Buck Bunny © Blender Foundation, peach.blender.org, licensed under CC BY 3.0. Re-encoded at 1080p, 2.2 Mbit/s, and a 3:30 clip at 2160p60, 39 Mbit/s.