On Wed, Dec 02, 2015 at 09:16:05PM +0100, Kamil Cholewiński wrote:
> Everything boils down to whether you'd like to run more than one app on
> your box.
>
> > While I love pip and virtualenv in development, I don't understand the
> > advantage they offer over the system package manager on a production
> > machine.
>
> Easy: whenever you can't be bothered with proper containers. App X
> requires package foo version 1.2, app Y requires foo version 1.4.
>
> Docker solves this universally. You can also achieve a similar effect by
> building a chroot. virtualenv's advantage is it doesn't require root,
> and is (subjectively) easier to use.
>

I agree with this completely but I tend to be in the one VM per app
category which puts me solidly in the "one app per box" square. I like
what I've heard about Docker because it commercializes and
commoditizes the one app per box management philosophy.

[... snip ...]

> > In addition, I feel that a reasonable uwsgi package would include an
> > rc-script to start your app automatically at system boot time.
>
> I prefer to run my application servers with runit. Traditional RC
> scripts usually assume one package = one application instance. Usually
> that's a sane assumption (what would be your reason for running two
> instances of Apache?) but again, if you can't be bothered with
> containers, virtualenv+runit make it easy to just put app X in /home/x,
> app Y in /home/y, then run two uwsgi's.
>

I looked at runit but the documentation bills it as a replacement for
init which I find to be very heavyweight. Am I missing something about
runit, like a way to use it to manage a set of processes under init?


> You've mentioned Puppet. Also check out Ansible.

I would have said that I'm with Winston Churchill [1] on puppet but I have
to say that I'm not. Right now, puppet's what I know. I'm aware of
chef and I have seen Ansible in the space. If Ansible is the on that's
written in python I think I want to look at that one next.

Thank you very much,
-- Chris

------------------------------------------------------------------------

[1] "Indeed it has been said that democracy is the worst form of
Government except for all those other forms that have been tried
from time to time." -- Winston Churchill to the House of Commons -
11-Nov, 1947

[demime 1.01d removed an attachment of type application/pgp-signature]

Reply via email to