BYOB disks on Developer and Team use the native format, which stores each file as an ordinary object in your bucket. Checkpoints and branching need the flat-block format, which Archil-managed disks use on every plan and BYOB disks can use on Enterprise. See Checkpoints on BYOB disks.
Supported data sources
Archil supports a wide variety of data sources out of the box. Each data source has specific configuration requirements and credential setup procedures. For detailed configuration instructions for each supported data source, see the dedicated pages:- S3-compatible Object Storage - including Amazon S3, Google Cloud Storage, Cloudflare R2, and S3-compatible providers such as Tigris, MinIO, Wasabi, Backblaze B2, and DigitalOcean Spaces
Consistency
Once a write is committed to Archil, reads that reach the disk server, including the Archil S3 API, see it immediately. Mounted clients can continue to serve cached data until their caches refresh. A local write must first be flushed withfsync or a
background flush before other clients can read it from the server. See
Consistency.
Writes synchronize asynchronously to the backing bucket. Reading that bucket directly can
therefore show an older version even after a write is committed to Archil.
To reduce the number of operations on backing object storage, Archil automatically combines multiple writes to
individual files into a single PutObject call to the data source. Archil copies a file once it has gone 15 seconds
without a write, so it usually reaches the data source tens of seconds after its last write; see
Consistency for the full timing.
Before writes appear in the backing object storage, they are stored durably on Archil’s SSD storage servers. Archil
redundantly stores data across multiple servers, in multiple Availability Zones, so the failure of any individual
node (or an entire Availability Zone) does not result in data loss. See Data durability for details.
Archil does not offer a way for users to force a synchronization to the backing data source. If you find yourself
needing to force synchronizing to the backing bucket, we instead recommend moving S3 API clients to the Archil S3
API, which is strongly consistent with changes in the file system.
Synchronization from a data source is bidirectional. To reduce read latencies (often by up to 30x), Archil caches
active data from a data source on our high-performance SSD storage servers. As a result, a newly created object on the backing storage system can take minutes to appear in the corresponding directory on disk; see From the bucket to the disk.
Concurrent writes
Archil supports concurrently modifying the disk from both the file system and from the origin data source — as long as these writes occur to different locations on the disk. If you attempt to write to the same file or directory which is being actively modified via the file system, it may result in undefined behavior including data loss or corruption. If you need to concurrently modify the same directory from the file system and the S3 API, we recommend using Archil’s built-in S3 API which supports concurrent modification.Atomicity
Some data sources, such as Amazon S3, do not have atomic operations that mirror each of the possible POSIX file operations (for example, directory renames). When executing these kinds of operations against an Archil disk, you may notice partial results for the operations when reading directly from the underlying data source. Reads that reach the Archil disk server are strongly consistent; mounted clients may serve a cached view.Availability
If the configured data source becomes unreachable while a disk is mounted, writes are not lost: Archil buffers them durably in the disk’s SSD storage cache and flushes them to the data source once it is reachable again. This SSD cache for unacknowledged writes has a fixed size to maintain the durability of the disk, and if you exceed this size, the disk will stop accepting write operations. Reads served from cache are unaffected; a read that misses the cache and requires the data source blocks until it can be satisfied.POSIX metadata
When Archil synchronizes a disk to a data source, file contents are written as ordinary objects at the matching key. Archil will internally track the POSIX metadata for each file, including its mode bits, ownership information, and any extended attributes. These are not visible by reading the bucket directly. Symbolic links are stored as a text file that contains just the path that the link points to. Hard links are stored as a full copy of the linked data.Unicode file names
Like most Linux file systems, Archil treats a file name as an exact sequence of bytes and doesn’t apply Unicode normalization. On a disk with a data source, each name is written to the bucket as an object key with exactly those bytes. Some object storage providers normalize object keys instead of storing them byte-for-byte. These include Cloudflare R2 and MEGA S4: both convert keys to Unicode Normalization Form C (NFC). Amazon S3 stores keys exactly as written. The same visible text can be encoded in more than one Unicode form. For example, the Korean폴더 or the accented
é can be stored precomposed (NFC) or as a sequence of decomposed characters (NFD). On a provider that normalizes
keys, names in different forms map to the same object, and the keys the bucket returns can differ from the names
Archil wrote. File system operations on affected names, such as renaming a directory, can fail and can stop the
disk from accepting writes.
On Cloudflare R2, we recommend contacting your Cloudflare account team to opt your account out of Unicode
normalization, so that R2 stores keys byte-for-byte. For other S3-compatible providers, check the provider’s
documentation or support team to find out whether it normalizes object keys.