I recently found gleam and I really want to dive into it, but I was curious if someone more experienced with the BEAM has any thoughts on best practices for deployment. More specifically about how the runtime works with Kubernetes. I'm curious if the recommended deployment pattern would be container based or something like an autoscaling ec2 group on AWS. I've done a lot of SRE work and have had personal troubles with the idea of putting a JVM inside a container running on a virtual machine, it's too much abstraction imo and it very quickly becomes a resource constraint, especially when the code is not super memory efficient.
Just curious what the thoughts are around containerization and orchestration.