What if my imports or exports from Backblaze, S3, GCP, etc. are slow?

Transloadit operates on AWS in the regions us-east-1 (North Virginia), eu-west-1 (Ireland) and ap-southeast-1 (Singapore). Assemblies are geo-routed to these regions based on the location of your end user that is triggering the Assembly.

For example, if your end user uploads from Thailand and is thus routed to our ap-southeast-1 region, but your Backblaze container is in US-West, the Assembly will export files from Singapore to the US west coast and it will be very slow.

To work around this slowness you can create multiple containers on Backblaze (or buckets in S3, etc.) that are closer to our three regions. You can then create three sets of Template Credentials and name them:

  • my_credentials_us-east-1
  • my_credentials_eu-west-1
  • my_credentials_ap-southeast-1

Add containers or buckets that are closest to the region in the name of these Credentials, and configure your backend to work with three different file storage locations.

Then in your Template you can reference them like so:

{
  "use": ":original",
  "robot": "/backblaze/store",
  "credentials": "my_credentials_${assembly.region}"
}

This will select the Template Credentials according to the region in which the Assembly was submitted, and will thus pick a Backblaze container that is much closer. As a result, exports should run much faster. The same applies to imports as well.

See also:

Why am I being charged by Debuggable Ltd? What is Turbo mode? Can I use the Community plan for more than one month?