LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Containers
User Name
Password
Linux - Containers This forum is for the discussion of all topics relating to Linux containers. Docker, LXC, LXD, runC, containerd, CoreOS, Kubernetes, Mesos, rkt, and all other Linux container platforms are welcome.

Notices


Reply
  Search this Thread
Old 04-18-2017, 09:10 AM   #1
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,671
Blog Entries: 4

Rep: Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945
Question Which container technology should I use here?


I've got a large web application – it runs about 150 stores – that right now is deployed in separate Ubuntu virtual machines. I notice that most of the machines are barely utilized, and I contemplate that this might be a good application for container technology.

I observe that there are "virtual machine" containers, such as LXD, and "application" containers like Docker. I think that I could well use either one – and paying an annual fee for Docker's full commercial version is of no concern at all if I should decide to go that way.

But – how should I decide, and what factors should enter into my decision-making? Can you please point out some good reading material here and elsewhere on the web?
 
Old 04-18-2017, 09:42 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,918

Rep: Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318Reputation: 7318
I would go for load, so try to find a solution which will need less resources. But actually another aspect is the stability, so you need to take care about that too.
I have no idea if 150 docker/lxd/whatever containers can run parallel, personally I have no good experiences with docker.
 
Old 04-18-2017, 09:55 AM   #3
simosx
Member
 
Registered: Jul 2005
Posts: 66

Rep: Reputation: 11
I have read about people running hundreds of LXD containers.

If you go through this route, you might want to get a support contract at https://www.ubuntu.com/support
 
Old 04-18-2017, 03:27 PM   #4
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,671

Original Poster
Blog Entries: 4

Rep: Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945
This application is "small" enough that it can run on a handful of VMs, but I ponder the wisdom of using things like "NFS" as I did.

We're about to move to RackSpace hosting, and to negotiate the contracts much more wisely than was originally done. My instincts tell me that a much smaller number of virtual machines ought to do the trick – if LXD (say ...) is used properly. I know that we are right now losing a lot of steam-pressure to unnecessary virtualization.

I know that RackSpace offers both "VMWare virtual machines," as we are using now, and other alternatives such as OpenStack. I'm pondering both, cautiously.

This is a "very legacy" PHP application that happens to book millions of dollars in gross sales every(!!) month. So, I have to be careful, both technically and politically. I'm not sure that I want to push the organization farther into "the new world" than they actually need to be. This isn't a service-architecture application and it never will be. Neither will it ever be run by an application-server / FastCGI setup.

Presuming, for now, that VMWare will still be the basic arrangement even given a brand-new hosting company, I need to consider how containers might enable me to make each of the VMs work harder than they presently do ... given that there is a standing need for all of them to have access to hundreds of thousands of individual files, which right now are supplied by an NFS virtual server ... and also(!) given that they'd be "running in a virtual environment, despite their own virtualization."

(P.S.: I've also been pondering NFS "file-content caching" on the various VMs that we right-now have. But, if anyone has anything to say about that ... and I'm all ears(!) ... please open a new thread, say, "here (why not?)," to discuss that possibility and your experiences with it.)

Last edited by sundialsvcs; 04-18-2017 at 03:45 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Would Container technology help to satisfy multiple dependencies for a RHEL OS? JockVSJock Linux - Enterprise 7 04-03-2017 12:02 PM
LXer: Crate Raises $4M for New Container Database Technology LXer Syndicated Linux News 0 03-16-2016 12:31 AM
LXer: On new applications and use cases for container technology LXer Syndicated Linux News 0 10-01-2015 03:11 AM
LXer: Docker 1.0 brings container technology to the enterprise LXer Syndicated Linux News 0 06-10-2014 03:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Containers

All times are GMT -5. The time now is 07:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration