aistore.sdk.blob_download_config
aistore.sdk.blob_download_config
Module Contents
Classes
API
Configuration for downloading objects using a blob downloader
Example
blob_settings = BlobDownloadConfig( threshold=64 * 1024 * 1024, # Download objects of at least 64 MiB chunk_size=“1MiB”, # 1 MiB per chunk num_workers=“5”, # 5 concurrent download workers read_timeout=”30s” # Per-attempt backend read timeout )
Objects smaller than 128 KiB, or fitting in a single chunk, are served via regular GET (no blob-download job).
Chunk size for the blob downloader. It can be specified in IEC or SI units, or as raw bytes (e.g., “4mb”, “1MiB”, “1048576”, “128k”)
Number of concurrent workers for the blob downloader: zero (default) or at least two
Per-attempt timeout for reading a chunk from the backend, expressed as a duration string (e.g., ”30s”, “2m”)
Minimum remote object size in bytes that enables the blob downloader. Zero disables blob download; omitting it preserves forced blob download.
Return request headers for this blob-download configuration.