Skip to main content

Storage

Concepts

We separate our storage in 3 different types with each their own uses:

Cache

  • Expiration: By default 1 week, up to 3 months
  • Size: Up to 2 GB

Storage with a limited expiration date, by default this is 1 week. This is the fastest storage.

Persistent

  • Expiration: Never
  • Size: Up to 1 GB

Store data that needs to persist. There is no limit to how long this data will be stored.

Vault

  • Expiration: Never
  • Size: Up to 512 MB

Secure storage, meant for storing sensitive information such as passwords, keys, .... Because of the extra security layer this storage is the slowest and not suited for big amounts of data.

How to store data

Pool / Bucket

Each project can contain multiple buckets, which are containers to store your objects. For example, you might create a photos bucket for all the image files your app generates and a separate videos bucket.

Object

Object: Each bucket can contain essentially unlimited individual objects, such as an image called puppy.png.

Keys

Follow these rules when naming a storage item:

  • A blob name can contain any combination of characters.
  • A blob name must be at least one character long and cannot be more than 1,024 characters long, for blobs in Azure Storage.
  • Blob names are case-sensitive.
  • Reserved URL characters must be properly escaped.
  • There are limitations on the number of path segments comprising a blob name. A path segment is the string between consecutive delimiter characters (for example, a forward slash /) that corresponds to the directory or virtual directory. The following path segment limitations apply to blob names:
  • If the storage account does not have hierarchical namespace enabled, the number of path segments comprising the blob name cannot exceed 254.
  • If the storage account has hierarchical namespace enabled, the number of path segments comprising the blob name cannot exceed 63 (including path segments for container name and account host name).