All comparisons

Best ways to fork a large dataset for parallel agents (2026)

To let several agents change the same large dataset in parallel, each from the same starting state, use copy-on-write branches instead of copies. If the data is already in S3, GCS or Azure Blob as files or tables and you may want to merge results back, lakeFS is the better default: its branches are metadata-only, it works over your existing bucket, and it merges. If the agents run ordinary tools (Python, DuckDB, shell scripts) on a POSIX file system and you only keep the best attempt, Archil branches a disk in about 33 ms at any size, and each branch mounts anywhere. On one machine, ZFS clones or cp --reflink are free.

Updated . Competitor facts are from each vendor's own docs and pricing pages.

The short list

  1. lakeFS: Best for datasets and data lakes already in S3, GCS or Azure Blob, especially tables, where attempts may need to merge back
  2. Archil: Best for agents that run ordinary file tools on the dataset, each on its own writable copy on a different machine, keeping only the best result
  3. ZFS snapshot and clone: Best for parallel attempts on one large machine, with the dataset on local disks
  4. cp --reflink: Best for a quick copy-on-write copy of a directory on one machine, with no extra tooling
  5. Iceberg branches and Delta Lake clones: Best for tabular data that already lives in Iceberg or Delta tables, edited through SQL engines
  6. EBS snapshots: Best for attempts that each run on their own EC2 instance with a block device
  7. git worktrees: Best for code and small data in a git repository, not a 500 GB dataset

Side by side

OptionFork of 500 GBMerge backHow agents read itRuns onData stays in your bucket
lakeFSMetadata-only branchYes, with conflict detectionS3-compatible gateway, lakectl, Spark and Python clientsAny machine that reaches the lakeFS serverYes, objects stay in S3, GCS or Azure Blob
ArchilCheckpoint in about 13 ms, branch in about 33 ms (p50)No; keep the winning branchPOSIX mount, S3 API, SDKsAny machine or sandbox; every branch at onceOnly in Archil's proprietary format, on Enterprise; disks that mirror a bucket as ordinary objects can't branch
ZFS snapshot and cloneInstantNoLocal file systemOne machineNo
cp --reflinkShares blocks; no data copiedNoLocal file systemOne machine, on Btrfs, XFS or APFSNo
Iceberg branches and Delta Lake clonesMetadata onlyIceberg: fast-forward; Delta: noSpark, Trino and other table enginesAny engine that reads the tableYes
EBS snapshotsNew volume per attempt; blocks load from S3 on first readNoLocal file system on the instanceOne instance per volume, in one Availability ZoneNo
git worktreesA full checkout per worktreeYes, git mergeLocal filesOne machineNo

What to look for

  • Fork time doesn't grow with the data

    Copying 500 GB once per attempt takes longer than many attempts run, and multiplies storage. Every option here except git worktrees creates the fork without copying data; only what an attempt changes takes new space.

  • Keep the best, or merge them

    If you only keep the winning attempt, any branch works. If you want to combine changes from several attempts, you need merges with conflict detection. lakeFS merges branches; Iceberg branches fast-forward; Archil, ZFS, reflinks and EBS have no merge.

  • How agents read the fork

    Agents that run shell tools, Python or DuckDB on files need a POSIX path. Some forks are file systems (Archil, ZFS, reflinks, EBS); others are read through an S3-compatible API or a table engine (lakeFS, Iceberg, Delta Lake).

  • Where the attempts run

    Parallel agents usually run on several machines or sandboxes. A ZFS clone or a reflinked copy lives on one machine's disks, and an EBS volume attaches to one instance in one Availability Zone. Branches served over a network can be used from many places at once.

  • Where the data already is

    Data already in a bucket favors tools that work on it in place. Moving 500 GB into another system is a one-time cost, but it's real, and it changes who can read the data afterwards.

  • Cleaning up

    Every branch holds on to the blocks it shares. Check how a tool deletes branches and reclaims space before you create thousands of them.

Each option in detail

Best for: datasets and data lakes already in S3, GCS or Azure Blob, especially tables, where attempts may need to merge back

lakeFS adds git-style branches, commits and merges to object storage. A branch is a pointer to a commit, so creating one copies no data, and lakeFS can import data already in S3, GCS or Azure Blob without copying it. Agents read and write a branch through lakeFS's S3-compatible gateway or its Python, Spark and lakectl clients. When an attempt wins, merge its branch into main; pre-merge hooks can block a merge that fails validation.

Strengths

  • Zero-copy branches over data that stays in your bucket
  • Merges with conflict detection, commits, reverts and pre-merge hooks
  • Source available on GitHub, with a managed cloud and an Enterprise edition

Tradeoffs

  • Agents use an S3 API or lakeFS clients; the POSIX mount is Enterprise-only, read-only by default, and doesn't support renames in write mode
  • Licensed under the Business Source License 1.1; each version becomes Apache 2.0 four years after release
  • You run the server, or buy lakeFS Cloud or Enterprise, priced through sales
  • Unreferenced objects stay in the bucket until you run the garbage collection Spark job
  • Imported data must be on the same cloud and in the same region as the repository

Best for: agents that run ordinary file tools on the dataset, each on its own writable copy on a different machine, keeping only the best result

Put the dataset on an Archil-managed disk, take a checkpoint, and create one branch per attempt. A checkpoint takes about 13 ms and a branch about 33 ms at p50, whatever the disk's size. Each branch is an independent POSIX file system that mounts on any machine or sandbox, so agents run Python, DuckDB or shell tools without changes. Score the branches and keep mounting the winner; it's already a full disk.

Strengths

  • Fork time doesn't depend on the dataset's size
  • Each branch mounts anywhere, in parallel, as an ordinary file system or over S3
  • Branches form a tree: checkpoint the winner and branch again for the next round
  • Archil sandboxes fork the whole machine, installed tools included, the same way

Tradeoffs

  • No merge: a branch can't be merged back into its parent, so keep the winner or copy changes yourself
  • Branches and checkpoints can't be deleted yet
  • A disk that mirrors an existing bucket, with files kept as ordinary objects, can't be checkpointed or branched. Data already in S3 must be copied onto an Archil-managed disk first, or kept in your own bucket in Archil's proprietary format on Enterprise
  • Branches share the disk's credentials, so they aren't a security boundary between untrusted attempts
  • Branching is available in Archil's AWS regions

3. ZFS snapshot and clone

openzfs.github.io

Best for: parallel attempts on one large machine, with the dataset on local disks

A ZFS snapshot is instant and initially takes no space, and a clone is a writable file system created from a snapshot that shares its blocks. Run every attempt on the same host, each in its own clone, then promote or keep the best one.

Strengths

  • Free and mature
  • Instant snapshots and writable clones
  • Local-disk speed

Tradeoffs

  • A local file system: attempts on other machines need the clones exported, for example over NFS
  • A snapshot can't be destroyed while clones of it exist, unless you promote a clone
  • No merge between clones

5. Iceberg branches and Delta Lake clones

iceberg.apache.org

Best for: tabular data that already lives in Iceberg or Delta tables, edited through SQL engines

Iceberg branches are named references to table snapshots: each attempt writes to its own branch, and the winner is published by fast-forwarding main or cherry-picking a snapshot. Delta Lake's shallow clone (Delta Lake 2.3 and later) references the source table's data files, and changes to the clone affect only the clone.

Strengths

  • Built into the table format, no extra service
  • Works with Spark, Trino and other engines

Tradeoffs

  • Only for tables; files, images and model outputs aren't covered
  • Agents need a table engine, not file tools
  • No general merge: Iceberg publishes by fast-forward or cherry-pick, and Delta clones don't merge back

6. EBS snapshots

docs.aws.amazon.com

Best for: attempts that each run on their own EC2 instance with a block device

Snapshot the volume that holds the dataset, then create one volume from the snapshot per attempt. Blocks of a new volume are downloaded from S3 when first read, with higher latency until then, unless you enable Fast Snapshot Restore, which AWS bills per snapshot per Availability Zone by the hour.

Strengths

  • Native to AWS, with no new service
  • Each attempt gets a full block device

Tradeoffs

  • First reads are slow until the volume is initialized; Fast Snapshot Restore costs about $540 a month per snapshot per Availability Zone, for at most 5 snapshots per Region
  • A volume attaches to one instance in one Availability Zone
  • No merge

7. git worktrees

git-scm.com

Best for: code and small data in a git repository, not a 500 GB dataset

git worktree gives each attempt its own working tree of one repository, sharing the object store. That's the right tool for code. For a large dataset, every worktree is a full checkout of the files, and git isn't built for hundreds of gigabytes of data.

Strengths

  • Familiar, with real merges
  • Ideal for the code an agent changes

Tradeoffs

  • Each worktree is a full checkout, so fork time and disk space grow with the data
  • GitHub blocks files over 100 MiB and recommends repositories under 1 GB; large files need Git LFS or another store

Keeping the winner vs merging

Most parallel-agent setups score each attempt and keep one. That only needs a branch per attempt and a way to keep using the winner, which every option here gives you. Archil's parallel agents guide does this with sandbox forks.

Merging is a different requirement: combining edits from several attempts, or bringing a winning branch back into a shared main line that other people also change. For data in a bucket, lakeFS is built for that. Archil has no merge-back; a branch stays its own disk.

Which one should you use?

If you needPick
Data already in S3, GCS or Azure Blob, with mergeslakeFS
Agents running file tools on separate machines, keeping the best attemptArchil
Every attempt on one big machineZFS clones, or cp --reflink on Btrfs or XFS
Tables edited with SQL enginesIceberg branches or Delta Lake clones
One EC2 instance per attempt, with a block deviceEBS snapshots
The code the agents changegit worktrees

Questions people ask

How do I give several agents their own copy of a 500 GB dataset?

Fork it copy-on-write instead of copying it: a lakeFS branch, an Archil branch, a ZFS clone or a reflinked copy. Each fork is created without copying data, and only the changes each agent makes take new space.

Can I branch a dataset that's already in S3?

With lakeFS, yes, over the objects in place. With Archil, a disk that mirrors an existing bucket can't be branched; copy the data onto an Archil-managed disk first, or on Enterprise keep it in your own bucket in Archil's proprietary format. Iceberg and Delta Lake branch tables in place.

Can I merge an Archil branch back into the original?

No. Archil branches don't merge into their parent. Keep using the winning branch as your working disk, or checkpoint it and branch from it again. If you need merges, use lakeFS.

How fast is an Archil branch?

A checkpoint takes about 13 ms and a branch about 33 ms at p50, regardless of disk size. Mounting the branch is a separate step, about 50 ms at p50. See Limits.

Why not just use git?

git worktrees are the right fork for code, but each one is a full checkout, so a 500 GB dataset means 500 GB per attempt. Use git for the code and one of the other options for the data.

How we chose

We compared ways teams fork a large dataset so that several agent attempts start from the same state: how long the fork takes, whether results can merge back, how agents read the fork, where attempts can run and where the data lives. Facts come from each project's own docs as of the date above. Archil makes Archil. It ranks second here, because lakeFS is the better default when the dataset is already in a bucket or needs merges; Archil is the better pick when agents need a POSIX file system on many machines and you keep one result.