Skip to main content

RacDeltaConfig

RacDeltaConfig represents the configuration that will be globally used within the client usage.
It composes of chunk size, max concurrency and a concrete storage configuration.

Each instance is produced automatically when creating a new rac-delta client.


Structure

export type StorageConfig =
| S3StorageConfig
| AzureBlobStorageConfig
| GCSStorageConfig
| HTTPStorageConfig
| SSHStorageConfig
| LocalStorageConfig
| URLStorageConfig;

export interface RacDeltaConfig {
chunkSize: number;
maxConcurrency?: number;
storage: StorageConfig;
}

Properties

PropertyTypeDescription
chunkSizenumberThe size in bytes that will be used to divide files and creation of chunks (recommended is 1MB)
maxConcurrencynumberMax number of concurrent tasks of the client for better performance.
storageStorageConfigConcrete configuration of the selected storage type.