Designing a Python execution API for untrusted code
A practical architecture for accepting Python jobs asynchronously, tracking their lifecycle, and keeping the runtime outside your application server.
mPaka blog
Technical guides for developers building asynchronous execution workflows, clear isolation boundaries, and observable recovery.
📝 01 / Latest posts
A practical architecture for accepting Python jobs asynchronously, tracking their lifecycle, and keeping the runtime outside your application server.
What happens when your product needs to run code it cannot trust? Why we are building a control plane for isolated execution workflows.
If your product runs code it didn't write, keep that code out of your web process. Here's how to think about the split.
A deploy will restart your process at the worst moment. Store job status somewhere that survives it.
Clicking cancel doesn't stop anything by itself. Here's what your API and UI should say while the stop is in flight.
A config file that says "isolated" proves nothing. Before you run strangers' code, find out what the sandbox really blocks.
Hide whatever runs your users' code behind a small interface, so you can swap it without rewriting your product.