Recommendations for a container with high tcp connections?

Feb 27, 2020
48
3
28
51
Hi
i am planning to migrate a virtual server from VM to LXC on my production cluster. This VM is currently having about 30K active tcp connections on peaktime which is no big issue for a vm, but, is there any specific recommendations or concerns for LXC guest or Node host in order to deal with some of those LXC containers?

Thanks.
Emilio
 
Not an answer, but why are you trying to move from VM to LX(C) container? You will loose the ability to live-migrate in your cluster.
 
Both performance and flexibility. VM take a performance hit compare to containers and we would like to avoid it. Also containers are fully deployed automatically via ansible in most of the cases; if we need an extra "server" we just provision a new container in a couple of minutes in whatever cluster node we have spare capacity, and afaik I can not do this easily with VMs.

Our containers do not require permanent storage and we keep cluster config as simpler as possible, we do not want to spend time maintaining or fixing issues in the cluster due to a complex config, so no shared storage or any other common dependency.
 
Last edited:
Also containers are fully deployed automatically via ansible in most of the cases; if we need an extra "server" we just provision a new container in a couple of minutes in whatever cluster node we have spare capacity, and afaik I can not do this easily with VMs.
This can also be done with VMs with the PVE API, but yes, I get it. It's way faster with LX(C) containers as it is with VMs. So, why don't you just move to docker and have even faster deployment and scaling times? Something like k8s does take care of load balancing, etc and is perfect for share-nothing architectures.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!