Quickstart
Onboarding
S2 is available for sign-up in preview. We are not charging in this period.
If your usage is significant e.g. sustained throughput of tens to hundreds of MiBps, we will get in touch. You can also reach out to us by email or Discord.
Log in to the dashboard.
Create a new organization and generate a new authentication token.
Get started with the CLI
Install the S2 CLI
This method works on macOS and Linux distributions with Homebrew installed.
The binary should be installed as s2
.
Persist your authentication token
Create a new basin
Basin names must be globally unique. Try creating a basin with your
GitHub handle, something like username-first-basin
.
A basin name must be between 8 and 48 characters long and comprise lowercase letters, numbers and hyphens. It cannot begin or end with a hyphen.
Check if the basin is active. You should see your basin’s name in the list
with an active
status:
Grab your popcorn!
Nothing better than Star Wars to give us a good sense of how we can exercise append
and read
sessions, and see what data in motion looks like.
We will start by creating a new stream called starwars
.
Some of you may have watched the movie in ASCII over telnet from towel.blinkenlights.nl
!
We will do the same, except we will “append” the movie to our starwars
stream while we also tail it.
Start by creating a read session like so:
Open another terminal and start an append session:
Go back to the previous terminal with the read session to enjoy the movie:
Estimate your end-to-end latency
Create a new stream in a basin with a storage class you intend to use
Run the ping test