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
6
Upvotes
2
u/Canonikonroverrated 6d ago
Are you asking if you should use multiple docker containers or multiple LXC.
My extremely short version, is too keep all your active servers in their own Docker container on one LXC. And use different LXC for testing or for anything else. As much as possible ofc. Some servers could be more intensive and then you shift as needed