Why Nostr? What is Njump?
2025-05-14 20:21:15
in reply to

ChipTuner on Nostr: Well in that would be serverless deployment right? The case where when my build ...

Well in that would be serverless deployment right? The case where when my build completes it triggers deployment of the application, and the environment is provisioned by a configuration file as part of the source/build. You wouldn't want your application to have control over the OS, and a whole VM is more resource intensive to provision than a container within an VM. You woudln't want it configuring a network stack or an interface, or loading drivers and so on. You just want your dependencies to be where you need them and always be there.

> My original note was inspired by working with render.com's Docker mode, which is redundant because they already have a clean environment to run the package on, and having the extra layer makes it difficult to do simple stuff like use mounted discs.

Sure, but what happens when you want 3, or 4 instances running on the same machine? Well at best that's another script, at worst that requires human intervention during a deployment. As far as your mounted disk thing, im not sure I understand what trouble your running into, if it's a file-path, then it's usable by docker.

Ideally you provision the server itself to have a consistent state, and your applications (multiple of them) share the system state as much as possible. It's far more resource efficient that way. VMS generally need thick resource provisioning to make guarantees, that applications don't need or want.
Author Public Key
npub1qdjn8j4gwgmkj3k5un775nq6q3q7mguv5tvajstmkdsqdja2havq03fqm7