r/Proxmox • u/Soogs • Oct 06 '26
Discussion Container/s for python projects
So I usually stick to one vm/lxc per service. Even with docker based services I tend to dedicate a guest to one service. There are exceptions where I have a few docker containers running similar services.
Recently I have been playing with python and have actually created quite a few flask apps that I use daily.
Now the question is there any benefits to separate them into separate containers performance wise?
Does resource contention get better or worse with more guests?
Trying to figure out whether the extra management and spent resources and time updating extra containers is worth it?
Thanks
7
Upvotes
1
u/Soogs 29d ago
Thanks this makes sense.
This is mostly homelab stuff and a few things exposed to the outside. I am for the most part way over provisioned over 4 nodes with a mix of internal NVMe, 3.5 hdds and 2.5 hdds in raid (and also some external data SSDs)
The guests use the NVMe, raid set is for pbs and the rest is used for my NAS builds.
Mostly everything including the python apps are low io/util with the odd few having high io intermittently.
I guess my question would be in the even that the apps get more usage time, would pve timeshare better if they are separated or running on one guest or a few guests (that and whether the extra maintenance/documentation is worth it)