This makes no sense. DB connections have been part of the "short-lived sandbox" since the very beginning. CGI, PHP, ... all use database connections, and that's way faster and correcter (with proper transactions) than this approach.
And you use Rust ... so you care about speed and correctness. This seems like a very wrong approach.
And you use Rust ... so you care about speed and correctness. This seems like a very wrong approach.