Skip to main content

Rescale Files

Rescale Files holds your data between jobs. Everything you upload and everything a job produces is stored here and billed by the gigabyte until you delete it permanently.

A job never reads Rescale Files directly. When a job reaches Executing, Rescale downloads its input files to the job's working directory on the cluster; when the application finishes, everything in that directory is uploaded back. If you need storage a job reads and writes in place, use a Cloud Filesystem or an HPS device instead.

Where your files are​

Rescale Files gives every user two folders, and the difference between them decides what survives a deleted job:

  • My Jobs contains one folder per job, created by the platform. Each job folder holds an Input folder and, once the job has run, an Output folder. The contents are fixed after the run: you can download and delete, but you cannot add.
  • My Library is your own space, where you create folders and upload freely.

They are not two copies of one thing, but an input file reaches both. Upload a file as a job input and Rescale puts it in that job's Input folder and in My Library. That is what makes an input outlive the job it was attached to: delete the job and the file is still in your library.

Trash holds deleted items until they are purged, and it is where most unexpected storage charges hide. Any data connectors your workspace has appear under Data Sources, where reading a file is not the same as storing a copy of it.

The rest of this section covers one decision each, and each one has a consequence worth knowing before you make it:

DecisionWhat it affectsWhere
How you get data inWhether a large transfer completes at allUpload files
How you find a file againWhich of the two file views you needBrowse your files
Whether to re-upload or re-referenceYour storage bill, and what a deletion takes with itReuse files across jobs
How you get results outWhether the directory structure survivesDownload files
What "delete" meansWhether the charge actually stopsThe file lifecycle

Files are referenced, not copied​

Attaching one file to twenty jobs stores it once. Rescale links each job to the same stored object rather than duplicating it, specifically so that reusing data doesn't multiply what you pay for it.

Deleting a job therefore does not necessarily delete its input files: an input that came from My Library stays in My Library. Cloning a job adds no storage either, since the clone references the same inputs.

Only permanent deletion stops the charge​

A file is billed in every state except the last one:

StateWhere you see itBilled
ActiveYour normal file listsYes
ArchivedThe archived viewYes
In trashTrashYes
DeletedNowhereNo

Archiving and trashing move a file out of your way without moving it off the disk. Emptying the trash is the step that changes your bill, and the file lifecycle covers how to tell which files are costing you.

The size Rescale reports is not the size Rescale bills

File listings and the API report the decrypted size. Billing is calculated on the stored size, after encryption and any compression, so the two differ and there is no way to derive one from the other. Use billing reports for figures you need to reconcile.

Where files sit inside a running job​

Input files land in the job's working directory, which is also the directory the application runs in. Two paths inside it behave differently, and confusing them breaks parallel runs silently:

  • work/ is private to each node. In a parallel run every node sees its own copy.
  • work/shared/ is visible to all nodes.

Stage anything the ranks must share in work/shared/. Put it in work/ and only the first rank finds it; the rest read nothing or stale data.

Everything left in the working directory when the application exits is uploaded to Rescale Files. Nothing outside it is.

You can't add an input to a job that's already running

Input files are fixed once a job starts. To get a file onto a running cluster you would have to copy it there over SSH, which puts it on the cluster only. Rescale Files never sees it, so it won't appear in your job folder or your library.

How many files you can attach​

A single job takes 1,000 input files by default. Workspaces that need more can have the limit raised to 4,000 on request; ask your account team rather than assuming, since it isn't on by default.

Exceed it and the job fails with Too many input files. The remedy is in the message: group the files into a folder and attach the folder instead of attaching them individually.

Which cloud stores it​

Rescale Files is backed by AWS S3, Azure Blob Storage, or Google Cloud Storage, depending on your workspace's region and configuration. Other S3-compatible providers aren't supported. The Files tab displays files held on S3 and Azure Storage.

Your files are not replicated across regions. A file is stored in the region it was uploaded to and stays there, so a job running elsewhere downloads it across regions, which is slower than a local read. Workspaces with a regional storage preference configured upload to that region instead.