Skip to main content
Use one sandbox per independent input when a parser, converter, or other worker should not share a filesystem with its siblings. The host only needs a small loop; the workload stays inside each microVM.

Run a batch

1

Create a few inputs

2

Run them in parallel

& provides the concurrency and wait carries worker failures back to the host. CPU, memory, network, and lifetime are bounded independently for every input.Inspect the results:
Replace the short Python expression with your worker command. For larger outputs, write to /var/tmp in the guest and use msb cp after the sandbox stops instead of capturing stdout.
3

Clean up

This loop limits one batch only. Put a queue or global concurrency limit in front of it when several batches can run on the same host.