There are plenty of resources about running untrusted Lua in code in
the context of normal Lua interpreter . Is there a documented
method of running untrusted code in Luajit?
I'm mostly interested in:
- forbidding single "tenant" from using too much memory
- ensuring a single "tenant" won't consume all the CPU
If running multi-tenant luajit VM is not a good idea, is running many
luajit VM's, one for each tenant an alternative?