If you have multiple apps in production with different versions of packages
that break compatibility then you'll be in a world of pain.
You also have supervisor to make it rc-able.
On Dec 2, 2015 7:52 PM, "Christopher Sean Hilton" <[email protected]>
wrote:

> On Wed, Dec 02, 2015 at 07:19:25PM +0000, Pedro Tender wrote:
> > Node.js modules have been removed also in favor of npm.
> > I highly recommend virtualenv and pip to keep your system cleaner if not
> > every other reason (package versions, incompatibilities, etc).
> > Keep Python packages away from your system and into their own
> environment.
>
> 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. In addition, I feel that a reasonable uwsgi package would
> include an rc-script to start your app automatically at system boot
> time. [1] Combine all of this with puppet, git and some git-hook magic for
> your custom bits and you end up with an easily managed system.
>
> There's no doubt that all of this could be hand hacked but the way I
> see it the less hand hacking on production machines, the better. It
> might just be my style, but I feel that the less work I have to do on
> a production system from the command line, the more reliable that
> system will be.
>
> ------------------------------------------------------------------------
>
> [1] As an aside, my efforts might be better spent adding an rc script
> to the current gunicorn package. But, if I'm correct uwsgi is written
> in C so I expect it to be a little more performant. My project is
> going to run on a Soekris Net5501 at the end of the day and the whole
> reason I'm going here is because apache/mod_wsgi has horrible first
> time startup costs serving django applications and tuning it is a bear.
>
> --
> Chris
>
>       __o          "All I was trying to do was get home from work."
>     _`\<,_           -Rosa Parks
> ___(*)/_(*)____.___o____..___..o...________ooO..._____________________
> Christopher Sean Hilton                    [chris/at/vindaloo/dot/com]

Reply via email to