I've found that tar processing tends to dominate the time used to do anything with standard OCI layers. I have a more efficient format (that splits apart the layer into metadata+chunks) that I'm open sourcing soon if y'all are interested in using it.
interested. is the split for dedup, parallel pulls, or lazy loading specific files? maybe all. we've played with some chunking ideas on our end but haven't landed on a format. drop a link when it's out.
We made our filesystem 47× faster by deleting it
41–43 of 43 posts
Re: We made our filesystem 47× faster by deleting it
#42Isn't it really obvious that a user space fs will always be slow, and especially slow with small files? I don't know the purpose of microsandbox, but such an article doesn't give me great confidence in exploring it further.
> Isn't it really obvious that a user space fs will always be slow, and especially slow with small files? Small files seem like the perfect case for a user space fs... depending on what you mean by user space fs. If you mean interfacing with a FUSE (or similar) filesystem by using syscalls in your program to context switch into the kernel, then context switch to the userspace FUSE layer, then send it back to the kern…
Ever access to the fs had to go through two processes and two kernels, virtual networking, and probably even running on two different cores most of the time. That must be slow.
Re: We made our filesystem 47× faster by deleting it
#43Earlier quoted context omitted.
it depends where you want your agent to live. inside the sandbox, start a sandbox via the CLI and run your agents/do your dev in there. outside the sandbox, you'd configure your harness to use the MCP / skill integration. here's the guide: https://docs.microsandbox.dev/getting-started/agents if you're building a harness, the SDK provides better integration. let me know if you hit any blockers. for sync, it's currentl…
Awesome, thanks! If I run the agent outside and use the MCP, is it the model's responsibility to actually develop in the sandbox or are there deterministic guardrails against performing activities outside of it?
to actually enforce isolation, the sandbox needs to be the only way the agent can run code. either don't give it any other code-running tools, or the harness exposes sandboxing as a first-class concept. for the latter, anthropic makes this possible with self-hosted execution: https://platform.claude.com/docs/en/managed-agents/self-host...
happy to answer any other questions.