All comparisons

Best ways to share a large dataset across many agent sandboxes (2026)

Store the dataset once on a shared file system, mount it read-only in every sandbox, and give agents a shared writable place for results; don't copy 200 GB into each sandbox. Archil is the best default when your sandboxes run on more than one provider or outside your own AWS account: one disk mounts in Archil, E2B, Daytona, Modal VM and other sandboxes in about 50 ms, reads at up to 8 GiB/s per client, and takes results from up to 5,000 clients at once. If every sandbox runs on your own AWS compute and the data is already in S3, Amazon S3 Files is the native choice. If everything runs on Modal, use Modal Volumes. For read-only fan-out where each sandbox only writes new result files, Mountpoint for Amazon S3 is free.

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

The short list

  1. Archil disk: Best for fan-outs across sandbox providers, or in Archil sandboxes, where every agent reads the same dataset and writes results to one place
  2. Amazon S3 Files: Best for sandboxes that run on your own AWS compute, reading a dataset that already lives in S3
  3. Mountpoint for Amazon S3: Best for read-only fan-out from S3 on a budget, where each sandbox writes only its own new result files
  4. Modal Volumes: Best for fan-outs that run entirely on Modal
  5. Amazon EFS: Best for sandboxes on AWS compute that need ordinary shared NFS for the dataset and the results
  6. FSx for Lustre: Best for the highest aggregate throughput on AWS, for large fleets on EC2 or EKS that read far more than 200 GB
  7. Daytona volumes: Best for small fan-outs that run entirely on Daytona and can live with object-storage speed
  8. Download per sandbox with s5cmd: Best for a dataset small enough to fit every sandbox's disk, read many times by each agent
  9. Bake into the image or snapshot: Best for small, rarely changing datasets, or Archil sandboxes forked from a prepared base
  10. E2B volumes: Best for teams on E2B that can get into the private beta

Side by side

OptionFirst read in a new sandboxThroughputCost as sandboxes are addedWorks inShared results
Archil diskMount in about 50 ms (p50); cached reads in about 0.5 msUp to 8 GiB/s read per client; per-disk reads not capped; writes up to 1 GB/s per diskStored and cached once; transfer to Archil sandboxes free, $0.07/GB to external compute on Developer and TeamArchil sandboxes, E2B, Daytona, Modal VM sandboxes, Vercel Sandbox and any Linux machine with FUSEUp to 5,000 clients read-write; strongly consistent disk, last write wins within a file
Amazon S3 FilesNFS mount; first access to a directory imports its metadata3 GiB/s read per client; large reads stream from S3 at up to terabytes per second in totalNo file system charge for large reads served from S3; charges for small-file reads, writes and syncEC2, Lambda, EKS and ECSNFS with locking and read-after-write consistency; changes reach the bucket about 60 s later
Mountpoint for Amazon S3Mount the bucket; each file is fetched from S3 on first readHigh-throughput S3 reads; no shared cache except S3 Express One ZoneFree client; S3 requests, and transfer if the sandbox is outside the bucket's AWS RegionAny Linux machine with FUSE and S3 credentialsNew files only, written sequentially; no coordination between mounts
Modal VolumesMounted at container start, at the latest committed stateUp to 2.5 GB/s$0.09 per GiB-month after 1 TiB freeModal Functions and SandboxesReaders call reload() to see commits; last write wins; v1 suggests at most 5 writers
Amazon EFSNFS mount; copy the dataset in once first1,500 MiB/s per client; up to 60 GiB/s read per file system in large RegionsPer GB-month stored, plus per-GB reads and writes on Elastic throughputEC2, ECS, EKS, Lambda and Fargate in your VPC, or on-premises over Direct Connect or VPNUp to 25,000 connections; close-to-open consistency; advisory locks
FSx for LustreLustre mount; linked S3 data loads on first read200 to 1,000 MBps per TiB provisioned; up to 100 Gbps per client without EFAProvisioned from 1,200 GiB of SSD, billed until deletedLinux compute with the Lustre client in your VPCThousands of clients on the same files
Daytona volumesFUSE mount of an S3-backed volumeSlower than the sandbox's local disk, per DaytonaFreeDaytona sandboxesWrites visible immediately; last write wins; not transactional
Download per sandbox with s5cmdAfter the whole download finishess5cmd's README cites downloads saturating a 40 Gbps link (~4.3 GB/s)One full copy and one full download per sandboxAnywhere with a disk big enoughNone; upload results to a bucket yourself
Bake into the image or snapshotAt boot, once the image is in placeLocal diskOne copy per sandbox; a rebuild for every dataset changeProviders whose disk limits fit the datasetNone
E2B volumesMounted with volumeMountsNot documentedNot documentedE2B sandboxesPrivate beta, with file-locking limitations

What to look for

  • Time to first read in a new sandbox

    A fan-out is only as fast as its slowest sandbox to start. Mounting shared storage takes milliseconds to seconds. Downloading 200 GB first takes minutes per sandbox, even with a fast parallel client, and it repeats in every sandbox.

  • Throughput per sandbox and in total

    Dozens of readers multiply demand. Check the per-client limit, which caps one agent, and the per-file-system limit, which caps them all together. Shared caches help here: the second sandbox to read a file shouldn't wait on the bucket again.

  • Cost as you add sandboxes

    Per-sandbox copies multiply storage and download time by the number of sandboxes. Shared storage is billed once, but some options also charge per GB read or per GB transferred, which grows with the number of readers.

  • Which sandbox providers it works in

    AWS file systems mount from compute in your VPC. Hosted sandboxes such as E2B, Daytona and Modal run elsewhere, and their own volumes mount only on their own platform. A FUSE client that talks to a public endpoint works wherever the sandbox provides /dev/fuse.

  • Shared results

    Collecting results means many writers on one file system. Check whether several sandboxes can write at once, what happens when two write the same file, and when another sandbox sees a write. Writing one directory or file per agent avoids most conflicts on every option here.

  • Cleaning up

    Per-sandbox copies vanish with the sandbox. Shared storage outlives it, which is the point, but provisioned file systems keep billing until you delete them.

Each option in detail

1. Archil disk

docs.archil.com

Best for: fan-outs across sandbox providers, or in Archil sandboxes, where every agent reads the same dataset and writes results to one place

Put the dataset on an Archil disk once, either uploaded to an Archil-managed disk or mounted from the S3, GCS or R2 bucket it already lives in, and mount it read-only in every sandbox. Give agents a second disk for results, mounted in conditional mode so every sandbox can write without coordination. A mount takes about 50 ms at p50. Reads come from a shared SSD cache replicated across Availability Zones in about 0.5 ms, or from the bucket on a miss, typically 10 to 30 ms for S3, and data stays cached for up to an hour after its last access. A single client reads at up to 8 GiB/s, and reads per disk aren't capped. To take the bucket out of the first sandbox's reads, warm the files with the Prefetch File Ranges API before the fan-out starts.

Strengths

  • One disk mounts in Archil sandboxes and in E2B, Daytona, Modal VM sandboxes, Vercel Sandbox and on any Linux machine
  • Up to 5,000 clients per disk; the dataset is stored and cached once, however many sandboxes read it
  • Up to 8 GiB/s per client, faster than the per-client limits of EFS (1,500 MiB/s) and S3 Files (3 GiB/s)
  • Conditional mode lets any number of sandboxes write results with no checkout; archil sync returns once every write is durable
  • A disk synced to your bucket keeps files as ordinary objects, so other tools read the results without Archil

Tradeoffs

  • Transfer to sandboxes outside Archil costs $0.07 per GB on Developer and Team: 50 external sandboxes that each read all 200 GB move 10 TB, or $700. Transfer to Archil sandboxes is free, and Enterprise private networking avoids the charge
  • Needs FUSE: Modal's default gVisor runtime can't mount it, only Modal VM sandboxes
  • Readers can serve cached directory listings for up to five minutes; hand results off through your orchestrator and run archil invalidate-cache before reading them
  • Two sandboxes writing the same part of one file: the last write to reach the disk wins
  • Writes are capped at 1 GB/s per disk, and a sandbox killed before archil sync or unmount loses its unsent writes
  • A managed service, not open source; public regions are three AWS regions and one Google Cloud region, plus BYOC

Best for: sandboxes that run on your own AWS compute, reading a dataset that already lives in S3

S3 Files turns an S3 bucket or prefix into a shared NFS file system for EC2, Lambda, EKS and ECS. It loads metadata and small files onto its own low-latency storage as they're used, and streams large reads (1 MiB or more) straight from S3, with no file system charge for them, at up to terabytes per second in total and 3 GiB/s per client. Results written through the file system are durable immediately, visible to other clients with read-after-write consistency and NFS locks, and copied to the bucket after about 60 seconds without changes.

Strengths

  • No copy: the dataset stays in your bucket
  • Large reads cost only S3 GET requests, with no file system data charge
  • Locking and read-after-write consistency for shared results, and access points per tenant or agent

Tradeoffs

  • Documented for EC2, Lambda, EKS and ECS through mount targets in your VPC, not for hosted sandbox providers
  • The first access to a directory imports metadata for every file in it, so it's slower than later ones
  • Write throughput is 1 to 5 GiB/s per file system, depending on the Region; renaming a directory rewrites every object under it in the bucket

3. Mountpoint for Amazon S3

github.com · Archil vs Mountpoint for Amazon S3

Best for: read-only fan-out from S3 on a budget, where each sandbox writes only its own new result files

Mountpoint is AWS's open-source FUSE client for S3. Mount the dataset bucket with --read-only in every sandbox, and mount a results prefix where each agent writes new files under its own name. That fits Mountpoint's write model, which creates new files written sequentially from the start. With --cache it keeps file contents on the sandbox's local disk, but that cache belongs to one Mountpoint process and is emptied at mount and at exit, so every sandbox fetches its own copy from S3.

Strengths

  • Free and open source; S3 to compute in the same AWS Region has no transfer charge
  • Works in any Linux sandbox that provides FUSE and S3 credentials
  • --read-only keeps agents from changing the dataset

Tradeoffs

  • No edits to existing files without --allow-overwrite and truncation, no renames outside S3 Express One Zone, and deletes off by default
  • No coordination between mounts writing the same object, and with caching on, metadata can be up to a minute stale
  • No shared cache across sandboxes unless you add an S3 Express One Zone bucket with --cache-xz, which AWS suggests for small objects up to 1 MB
  • Sandboxes outside the bucket's AWS Region pay S3 data transfer for every byte they read

Best for: sandboxes on AWS compute that need ordinary shared NFS for the dataset and the results

EFS is elastic NFS for EC2, ECS, EKS, Lambda and Fargate, with up to 25,000 connections per file system. With Elastic throughput, one client reads and writes at up to 1,500 MiB/s, and a file system reads at up to 60 GiB/s in the larger US, European and Asia Pacific Regions. EFS isn't linked to S3, so you copy the dataset in once; after that every sandbox mounts it.

Strengths

  • Mature, fully elastic, with no capacity to provision
  • Close-to-open consistency and NFSv4 locks for shared results
  • Mountable from on-premises over Direct Connect or VPN

Tradeoffs

  • AWS compute in your VPC only; not documented for hosted sandbox providers
  • Elastic throughput bills every GB read and written, so 50 sandboxes reading the whole dataset are billed for 50 full reads
  • A copy of data that already lives in S3, which you keep in sync yourself
  • Locks are advisory only, and per-client throughput is lower than Archil's or S3 Files'

6. FSx for Lustre

docs.aws.amazon.com

Best for: the highest aggregate throughput on AWS, for large fleets on EC2 or EKS that read far more than 200 GB

FSx for Lustre is a provisioned parallel file system whose throughput grows with capacity: 200 MBps per TiB baseline on Scratch 2, and 125 to 1,000 MBps per TiB on Persistent 2 SSD. One client can reach 100 Gbps without EFA, and more with it, and thousands of instances can work on the same files. Link it to a bucket and the objects' metadata is imported as files, with contents loaded from S3 when first read.

Strengths

  • Scales to terabytes per second, with EFA and GPUDirect Storage
  • Sub-millisecond latency, and concurrent access from thousands of clients

Tradeoffs

  • Provisioned: SSD file systems start at 1,200 GiB, then 2,400 GiB steps, and can't shrink. AWS's us-east-1 example prices Scratch storage at $0.140 per GB-month, so the smallest one costs about $168 a month and holds about six times a 200 GB dataset
  • Needs the Lustre client on Linux compute that reaches the file system's subnet, so it fits sandboxes you run on EC2 or EKS, not hosted providers
  • Scratch file systems don't replicate data; a failed server means I/O errors on its files

7. Daytona volumes

daytona.io · Archil vs Daytona

Best for: small fan-outs that run entirely on Daytona and can live with object-storage speed

Daytona volumes are FUSE mounts of an S3-compatible object store, shared by any number of Daytona sandboxes and free of charge. Writes are visible to other sandboxes right away, but Daytona notes that volumes aren't transactional, that the last write wins when two sandboxes write one path, and that they are slower than the sandbox's own disk.

Strengths

  • Included at no cost, and not counted against storage quota
  • Shared read-write across Daytona sandboxes with no setup

Tradeoffs

  • Mounts only in Daytona sandboxes, and 100 volumes per organization
  • Slower than local disk for reads and writes, and not suited to databases
  • No throughput figures or read-only option documented

8. Download per sandbox with s5cmd

github.com

Best for: a dataset small enough to fit every sandbox's disk, read many times by each agent

s5cmd is a fast parallel S3 client: it runs 256 workers by default, and its README cites a benchmark where downloads saturated a 40 Gbps link, about 4.3 GB/s. Each sandbox copies the dataset to its own disk and then reads at local speed. At that rate, 200 GB takes most of a minute in the best case, in every sandbox, before the agent starts.

Strengths

  • Local-disk reads once the copy is done
  • No shared service to run or pay for

Tradeoffs

  • The dataset has to fit: E2B includes 10 GiB of sandbox disk on Hobby and 20 GiB on Pro, and Daytona's organization storage limits run from 30 GiB to 5,000 GiB across Tiers 1 to 4
  • Fifty sandboxes hold fifty copies, and each download repeats the S3 requests
  • No shared results: each agent uploads its output somewhere else

9. Bake into the image or snapshot

docs.archil.com

Best for: small, rarely changing datasets, or Archil sandboxes forked from a prepared base

Put the dataset in the sandbox image or a snapshot, so every sandbox boots with it. The same disk limits apply as for downloading, every dataset change means a rebuild, and results still need a shared place. On Archil, forking a prepared sandbox does this without copying: the root filesystem is an Archil disk, and a fork branches it at any size.

Strengths

  • Nothing to mount or download at start
  • Archil sandbox forks branch the root disk instead of copying it

Tradeoffs

  • Most providers' sandbox disks are far smaller than 200 GB
  • Each sandbox gets a private copy, so nothing is shared, including results
  • Every change to the dataset means a new image or snapshot

10. E2B volumes

docs.e2b.dev · Archil vs E2B

Best for: teams on E2B that can get into the private beta

E2B volumes persist independently of any sandbox and mount at a path with volumeMounts, in several sandboxes over time. They're in private beta, available by contacting E2B, and E2B lists file-locking limitations for the beta. Size limits, throughput and pricing aren't documented yet. E2B sandboxes provide FUSE, so an Archil disk or Mountpoint also mounts there today.

Strengths

  • Native to E2B
  • Readable and writable through the E2B SDK when not mounted

Tradeoffs

  • Private beta, with file-locking limitations
  • No documented size, throughput, concurrency or pricing
  • E2B only

Sharing one dataset vs forking it

This page is about many agents reading the same data and writing results to one place. If each agent needs its own writable copy of the dataset to change, without seeing the others' edits, that's a fork, not a share: see Best ways to fork a large dataset for parallel agents.

A fan-out pattern on Archil

Keep the dataset on one disk and mount it read-only in every sandbox (archil mount --read-only, or readOnly on an Archil sandbox mount), so no agent can change it. Mount a second disk for results in conditional mode in every sandbox, and give each agent its own directory, such as results/<agent-id>/.

When an agent finishes, run archil sync on the results mount before it reports done; once that returns, its files are durable. Pass "done" through your orchestrator rather than polling the disk, and run archil invalidate-cache in the sandbox that collects the results before reading them. Sharing a disk between agents and Consistency have the exact rules.

Which one should you use?

If you needPick
Sandboxes on several providers, or in Archil sandboxes, sharing data and resultsArchil disk
Sandboxes on your own AWS compute, data already in S3Amazon S3 Files
Read-only fan-out from S3 for free, each agent writing new filesMountpoint for Amazon S3
Everything runs on ModalModal Volumes
Plain shared NFS on AWS, data not in S3Amazon EFS
Terabytes per second across a large EC2 fleetFSx for Lustre
Everything runs on Daytona, at small scaleDaytona volumes
A dataset that fits every sandbox's diskDownload with s5cmd, or bake it into the image

Questions people ask

How do I give dozens of agent sandboxes the same 200 GB dataset?

Store it once on a shared file system and mount it read-only in every sandbox, instead of copying it into each one. An Archil disk mounts in about 50 ms in Archil, E2B, Daytona and Modal VM sandboxes; on your own AWS compute, Amazon S3 Files mounts the bucket the data is already in.

Should each sandbox download its own copy of the dataset?

Only if the dataset is small. Even at the ~4.3 GB/s s5cmd's README cites, 200 GB takes most of a minute per sandbox, and many sandbox disks are smaller than that: E2B includes 10 GiB on Hobby and 20 GiB on Pro. Fifty sandboxes would also mean fifty copies.

How can parallel agents write results to a shared place without overwriting each other?

Give each agent its own directory or file name on shared storage. On Archil, mount the results disk in conditional mode, run archil sync before an agent reports done, and run archil invalidate-cache before collecting. Two writers to the same part of one file get last-write-wins on Archil, Modal Volumes and Daytona volumes; EFS and S3 Files add NFS locks.

Can I mount Amazon EFS or S3 Files in E2B, Daytona or Modal sandboxes?

AWS documents both for its own compute (EC2, ECS, EKS and Lambda, plus Fargate for EFS) through mount targets in your VPC, not for hosted sandbox providers. A FUSE client with a public endpoint, such as Archil or Mountpoint for Amazon S3, mounts in E2B, Daytona and Modal VM sandboxes.

What does sharing a dataset across 50 sandboxes cost on Archil?

Storage is billed once per disk, not per sandbox: $0.20 per GiB-month for active data, plus $0.025 per GB-month for all data on an Archil-managed disk. Transfer to Archil sandboxes is free. External sandboxes pay $0.07 per GB on Developer and Team, so 50 that each read the full 200 GB cost about $700 in transfer; Enterprise private networking avoids that.

Is Mountpoint for Amazon S3 enough for an agent fan-out?

For reading, often yes, and it's free. Each sandbox keeps its own cache, though, so every one fetches its data from S3, and writes are limited to new files written sequentially, with no coordination between mounts. That works if each agent writes only its own new result files.

What if each agent needs its own copy of the dataset to modify?

Then fork it instead of sharing it, with copy-on-write branches so no data is copied: see Best ways to fork a large dataset for parallel agents.

How we chose

We compared ways to give dozens of agent sandboxes the same large dataset and a shared place for their results: time to first read, per-client and total throughput, how cost grows with the number of sandboxes, which sandbox providers each works in, concurrent writes and consistency, and cleanup. Competitor facts come from each vendor's own docs and pricing pages as of the date above, including EFS performance and quotas, S3 Files performance, Mountpoint's semantics and configuration, FSx for Lustre performance, CreateFileSystem and pricing, Modal pricing, E2B pricing and Daytona limits. Archil facts come from docs.archil.com: Performance, Limits, Client caching and Pricing & Billing. We haven't benchmarked these options against each other for this workload; throughput figures are each vendor's stated limits. Archil makes Archil, and ranks it first because it's the only shared file system here that mounts across sandbox providers and takes concurrent writes; S3 Files is the better pick when every sandbox runs on your own AWS compute.