Ask HN: LXC container inside a VM : is it good for scalability?

https://news.ycombinator.com/item?id=5707615
by yannovitch • 13 years ago
2 4 13 years ago

Hello,

Who am I ? I'm a french "studentrepeneur", doing distance studies in Computer Science & Business, and working on my companies during the day.

What is my problem ? (/!\ Test conditions, not in production /!\) I have implemented an hybrid private/public cloud (using OpenStack & OpenNebula) with AMI provisioning. As such, I can use by default my own dedicated servers, then scale up with Amazon EC2 instances if I get too much charge on my private instances. As such, I have one pool of VM by function : load balancer, one pool for webserver , one pool for proxy, one for DBB, and so forth ... I use a mix of different technologies, PHP, Python, and I'm even thinking of trying Go. I use Nginx as reverse proxy and as webserver.

Now, all the domains are grouped ( clusterized) together, so they are VM agnostic : I can add as much instance as I want, it will always be presented to the domain as just one big resourceful physical server, not many VM.

What I would like to do now is to add more security by putting each domain in a LXC container. But I wonder, if I include container, won't it break my scalability model ? If yes, should I use a totally different model ? Like, not using a clusterized model but rather a lot of different instances with one per domain ? As it's in test and not in production, I can still break everything ;).

Yann

Related Stories

Loading related stories...

Source preview

news.ycombinator.com