How Quora uses Modal to run thousands of Python sandboxes simultaneously
Jun 30, 2025

Summary
This post details how Quora integrated Modal Sandboxes into their Poe AI chatbot platform to securely execute LLM-generated Python code. It highlights the security, low latency, and reliability requirements met by Modal's sandboxing capabilities, specifically mentioning gVisor for isolation, fast scaling to 1000 sandboxes per second, and networking primitives like Tunnels and IP allowlisting. The post emphasizes that Modal's sandboxes are essentially Modal Functions without the client, leveraging the platform's battle-tested infrastructure. Quora reported saving 2 engineers' worth of infrastructure maintenance time by using Modal.
More from the Sandboxed Code Execution trail
- Runtime Roundup: VM Sandboxes, Multi-node clusters, and more | Modal Blog
- VM Sandboxes: Full computers for agents | Modal Blog
- Sidecars: A low-latency trust boundary for Sandboxes | Modal Blog
- Product updates: Sandbox Sidecars, new models, a refreshed dashboard, and more | Modal Blog
- Devin Outposts on Modal | Modal Blog