Re:Show HN: Scriptable.run, make your product extendable by ...
by js4ever on Thursday March 16, 2023 @02:04AM
(#35178679)
I understand the idea, but I don't understand why your product is easier to use than aws lambda
[ Parent
| on HN ]
Re:Show HN: Scriptable.run, make your product extendable by ...
by cheerioty on Thursday March 16, 2023 @02:16AM
(#35178764)
Thanks mate. The difference is that you wouldn't really want to simply copy code from your customers/3rd parties for a couple of reasons. Here are just three:
- Missing out-of-the-box security/sandboxing - The time it takes to deploy - Startup time
With Scriptable, you don't need to worry about any of that. And nothing for you to provision or maintain apart from the user-provided scripts in your database.
Re:Show HN: Scriptable.run, make your product extendable by ...
by aflag on Thursday March 16, 2023 @05:03AM
(#35179700)
How is aws lambda less of a sandbox? What can they do with lambda that they wouldn't be able to with scriptable?
Re:Show HN: Scriptable.run, make your product extendable by ...
by hitsthings on Thursday March 16, 2023 @07:33PM
(#35190488)
You'd have to ensure they didn't have any privileges, for a start. E.g. you have to ensure you set the role correctly so they can't execute other lambdas in your account, etc.
If you are running multiple users on the same lambda, one could potentially read filesystem data that another saved, for example (if the lambda hasn't restarted).
You also probably want to make sure each user has individual compute limits, so one user can't execute 1000 scripts/second and DDOS other users.
There's probably a lot of little things to think through (that I have not).