What the site keeps
What the site can see
The site can see which account and device talks to which server, when, and how many bytes.
Our site serves the code that does the encryption, so a site that was broken into could change that code for anyone who opens it afterwards.
The site carries each browser's key to your server when it pairs or joins, so a site that was broken into could add a key of its own; the device code shown in your browser, on the connector's terminal and on the Lab page is the same code, and they must match.
For the compute pool, the site also sees how many GPUs of each model each pooled server has idle and busy, which server ran a guest job for which server, with how many GPUs and for how long, and the credits that moved between them. It cannot read a guest job's script, output or checkpoints, which travel sealed between the two servers.
A server whose owner turns on publishing also tells the site the memory of its GPUs, the CPUs, memory and longest run one guest job gets there, and how many guest jobs wait and run there. The site keeps these for three minutes after it hears them and shows them, with the server's id on the site and its idle GPUs, to every other paired server, so a borrower can tell whether a job fits. Publishing is off unless the owner turns it on.
A paired server takes part in the compute pool unless its owner turns that off in its settings. While its Lend switch is off, which is how it starts, the site sees its pool public key, how many of its GPUs are busy and that it does not lend, and no idle GPU of it.
Stored on disk
accounts
idemailpassword_hashcreated_at
sessions
token_sha256account_idoriginexpires_at
servers
idnameconnector_keytoken_sha256owner_idcreated_atlast_seen_atclusterlab_address
members
server_idaccount_idrolecreated_at
invites
token_sha256server_idroleexpires_at
join_requests
server_idaccount_iddevice_keycreated_at
cluster_admins
clusteraccount_idcreated_at
admin_stops
clusternoticesig
install_tokens
token_sha256account_idcreated_atexpires_atused_at
notices
idaccount_idserver_namelocationcreated_at
pool_placements
idrequest_idborrower_serverlender_serveraccount_idgpusgpu_modelmax_hoursresumestatecreated_atstarted_atended_atend_reasonshare_mibasked_mib
pool_credits
placement_idguest_idlender_serverborrower_servergpu_modelgpusgpu_secondsweightcredits_lendercredits_borrowercredits_clastrameasured_bystarted_atended_atsettled_atgpu_memory_mibgpu_total_mib
pool_servers
server_idjoined_at
pool_grants
account_idserver_idamountgranted_at
pool_peers
server_idfingerprintfirst_seen_at
A revoked or expired server's rows are deleted at once, except its pool placements and credit rows, which are the other server's ledger too and stay, and its owner's pool grant, which is given once per account and stays without the server's id. In the relay's own SQLite file the deleted bytes are overwritten as well. On Postgres, where the hosted site keeps its rows, a deleted row stays in the database's files until Postgres reclaims the space.
If the site's operator turns on the compute pool's layover, which is off unless they do, the sealed chunks of a checkpoint on its way to a server that is offline are kept on disk until that server collects them, or for 24 hours if it does not, and are removed at the site's next hourly sweep after either, so for at most about 25 hours. The site cannot read them. No other part of a guest job waits on the site.
Held in memory or in a short-lived cache
These items live in the relay's memory or, where the site runs as many short-lived instances, in its short-lived Redis cache, and every item in that cache expires on its own.
- pending pairings, on the open /pair socket or an HTTP pairing session, for at most ten minutes
- which servers are online
- messages for a connector on long polling, until its next poll collects them
- the token hash of a long-polling connector revoked between two polls, for one minute, so its next poll is told
- request ids in flight
- sign-in failure counts per email and per IP for 15 minutes
- sign-up counts per IP address for one hour
- one-time tickets that carry a sign-in to a server's own address, for 60 seconds
- for 10 minutes after a sign-in email is sent, a keyed hash of its code and of its link, with the email address the link signs in, until one is used
- for 10 minutes after a Google or GitHub sign-in starts, its state, nonce and PKCE verifier, under a keyed hash of a random value this browser holds in a cookie
- sign-in emails sent per email and per IP for 15 minutes, and wrong sign-in codes per email for an hour and per IP for 15 minutes
- the last answer each connected server gave to an admin stop notice
- wrong pairing code counts per account and per IP for 15 minutes
- the host name, OS user and cluster user a new connector sends, until its pairing ends
- each lab login waiting for its server's answer, for at most 15 seconds
- wrong lab code counts per IP for 15 minutes
- in the Redis cache, each count's key, which names the email, account or IP address it counts, for at most an hour after its last count
- each pooled server's idle GPUs by model, its busy GPU count and whether it lends, as its connector last offered them, for three minutes
- what a lending server's owner chose to publish beside that offer (the memory of its GPUs, the CPUs, memory and longest run one guest job gets, and how many guest jobs wait and run there), for three minutes
- each pooled server's public key for sealing transfers to another server, while it is online, and in the Redis cache for at most a day
- how many bytes each placement's sealed transfers have carried, for at most four days
- each borrow request that asked to wait for a free GPU (how many GPUs of which model, for how long, the server that asked and its owner account), until it is placed or for at most 15 minutes
Kept in your browser
Besides the sign-in cookies, your browser keeps a cookie naming the server you opened last, so signing in takes you back to its chat. The site keeps no copy of it.
Never kept
- envelopes, frames, or the sealed pieces of a guest job's spec, script or output, and the sealed pieces of a checkpoint beyond what the layover holds while it is on
- paths, bodies or headers of tunneled requests
- Slurm job ids, job names, scripts, a job's output, checkpoints it can read, container images or chat text
- IP addresses on disk
- a log of which device asked what
Open items
There is no forward secrecy and no padding yet.
Contact
Write to info@clastra.tech with any question about this page or your data.