Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #62740

Re: Apache restart after source changes

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.002
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'restarting': 0.07; 'deploy': 0.09; 'pages.': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'restart': 0.09; 'python': 0.11; 'django': 0.11; 'changes': 0.15; 'apache': 0.15; '12:57': 0.16; 'disciplined': 0.16; 'ecosystem': 0.16; 'evaluating': 0.16; 'finds': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject:Apache': 0.16; 'subject:after': 0.16; 'wsgi': 0.16; 'language': 0.16; 'wrote:': 0.18; "python's": 0.19; 'server,': 0.19; 'code,': 0.22; 'header :User-Agent:1': 0.23; 'library,': 0.24; 'planned': 0.24; 'received:comcast.net': 0.24; 'server.': 0.24; 'file.': 0.24; 'source': 0.25; 'options': 0.25; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'related': 0.29; 'compared': 0.30; 'especially': 0.30; "i'm": 0.30; 'changes:': 0.31; 'servers.': 0.31; 'file': 0.32; 'linux': 0.33; 'test': 0.35; 'but': 0.35; 'there': 0.35; 'being': 0.38; 'server': 0.38; 'tasks': 0.38; 'to:addr:python-list': 0.38; 'use.': 0.39; 'sure': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'major': 0.40; 'is.': 0.60; 'serving': 0.60; 'most': 0.60; 'mentioned': 0.61; 'more': 0.64; 'situation': 0.65; 'here': 0.66; 'production': 0.68; 'advantages': 0.68; 'integrated': 0.69; 'carefully': 0.74; 'touch': 0.74; 'production,': 0.84; 'subject:source': 0.84
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Ned Batchelder <ned@nedbatchelder.com>
Subject Re: Apache restart after source changes
Date Thu, 26 Dec 2013 08:26:58 -0500
References <9e70e719-10f9-4772-8da9-0270538f9fba@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host c-50-133-228-126.hsd1.ma.comcast.net
User-Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.2.0
In-Reply-To <9e70e719-10f9-4772-8da9-0270538f9fba@googlegroups.com>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.4633.1388064426.18130.python-list@python.org> (permalink)
Lines 21
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1388064426 news.xs4all.nl 2956 [2001:888:2000:d::a6]:45878
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:62740

Show key headers only | View raw


On 12/26/13 12:57 AM, Fredrik Bertilsson wrote:
> I am evaluating Python for web development and just found out that I need to restart Apache after source changes on windows. Using linux the situation is better but I still have to touch the wsgi file. Is it only me that finds this being a major drawback compared to PHP?
>

In general, PHP is more tightly integrated into web servers than Python 
is.  Python's advantages are 1) a more disciplined and carefully planned 
language and standard library, and 2) a larger and broader ecosystem of 
libraries, especially for tasks not directly related to serving web pages.

As to restarting servers after source changes: most people do not change 
file directly on their production servers.  They develop on their own 
machines, test the code, then deploy it to a production server.  In this 
scenario, restarting the web server is not a burden.

I don't know what the options are for auto-restarting the kinds of web 
servers you'd use in production, I'm sure there are some.  Someone here 
mentioned the Django web server, but that isn't intended for production use.

-- 
Ned Batchelder, http://nedbatchelder.com

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Apache restart after source changes Fredrik Bertilsson <frebe73@gmail.com> - 2013-12-25 21:57 -0800
  Re: Apache restart after source changes Eduardo A. Bustamante López <dualbus@gmail.com> - 2013-12-25 22:27 -0800
    Re: Apache restart after source changes Fredrik Bertilsson <frebe73@gmail.com> - 2013-12-25 22:36 -0800
      Re: Apache restart after source changes Chris “Kwpolska” Warrick <kwpolska@gmail.com> - 2013-12-26 14:13 +0100
      Re: Apache restart after source changes diverman <pavel@schon.cz> - 2013-12-29 23:32 -0800
  Re: Apache restart after source changes Ned Batchelder <ned@nedbatchelder.com> - 2013-12-26 08:26 -0500

csiph-web