[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Userops] Why is it hard to move from one machine to another? An ana
From: |
Dave Crossland |
Subject: |
Re: [Userops] Why is it hard to move from one machine to another? An analysis. |
Date: |
Thu, 9 Apr 2015 11:27:27 -0400 |
On 9 Apr 2015 11:25 am, "Dave Thompson" <address@hidden> wrote:
>
> "Claes Wallin (韋嘉誠)" <address@hidden> writes:
>
> > Because services are not run as several instances by several users on
> > one machine, their state has been allowed to nestle itself into
> > several places on the system.
> >
> > This is why bundler/npm/virtualenv is often the best way to deploy,
> > because it isolates the application state (and dependencies) from the
> > system (and other installed services). Docker looked like it could be
> > a polyglot version of this, but I guess from what you are saying
> > people are not using it like that.
>
> I think there are much better ways that we can isolate application
> dependencies. Bundler and co. are useful only because system package
> managers haven't traditionally allowed for installing to a directory
> that isn't '/'. Language-specific package managers let you install
> anywhere, but they are so narrow in scope that you typically need to use
> more than one of them in addition to your distro's package manager to
> get any real work done. So, a Ruby on Rails application with a
> _javascript_ client may need apt, npm, and bundler in order to obtain all
> of the pieces necessary for it to work. Terrible. The distros we use
> should provide a package manager that allow us to do this kind of
> dependency isolation with all packages, not just Ruby/Python/_javascript_
> stuff, while at the same de-duplicating the files used in multiple
> "bundles" throughout the system. Then we'd only need one package
> manager.
That exists, it's called Docker :)
> --
> David Thompson
> Web Developer - Free Software Foundation - http://fsf.org
> GPG Key: 0FF1D807
> Support the FSF: https://fsf.org/donate
> _______________________________________________
> Userops mailing list
> address@hidden
> http://lists.mediagoblin.org/listinfo/userops
Re: [Userops] Why is it hard to move from one machine to another? An analysis., 韋嘉誠, 2015/04/09
- Re: [Userops] Why is it hard to move from one machine to another? An analysis., Dave Thompson, 2015/04/09
- Re: [Userops] Why is it hard to move from one machine to another? An analysis.,
Dave Crossland <=
- Re: [Userops] Why is it hard to move from one machine to another? An analysis., Bob Mottram, 2015/04/09
- Re: [Userops] Why is it hard to move from one machine to another? An analysis., Dave Crossland, 2015/04/09
- Re: [Userops] Why is it hard to move from one machine to another? An analysis., Bob Mottram, 2015/04/09
- Re: [Userops] Why is it hard to move from one machine to another? An analysis., 韋嘉誠, 2015/04/10
- Re: [Userops] Why is it hard to move from one machine to another? An analysis., Dave Crossland, 2015/04/10
- Re: [Userops] Why is it hard to move from one machine to another? An analysis., Christopher Allan Webber, 2015/04/10
- Re: [Userops] Why is it hard to move from one machine to another? An analysis., Dave Crossland, 2015/04/10
- Re: [Userops] Why is it hard to move from one machine to another? An analysis., Bob Mottram, 2015/04/11
Re: [Userops] Why is it hard to move from one machine to another? An analysis., Dave Crossland, 2015/04/09