Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!feeder2.ecngs.de!ecngs!feeder.ecngs.de!xlned.com!feeder1.xlned.com!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.003 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'subject:: [': 0.03; 'deemed': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:Long': 0.09; 'subject:process': 0.09; '(more': 0.16; 'gilles': 0.16; 'obviously,': 0.16; 'received:80.91.229.3': 0.16; 'received:dip0.t-ipconnect.de': 0.16; 'received:plane.gmane.org': 0.16; 'received:t-ipconnect.de': 0.16; 'subject:WSGI': 0.16; 'wsgi': 0.16; 'subject:] ': 0.19; 'fairly': 0.21; "i'd": 0.22; 'this:': 0.23; 'seems': 0.23; 'header:User-Agent:1': 0.26; 'environment.': 0.27; 'besides': 0.27; 'newer': 0.27; 'interface': 0.27; 'header:X-Complaints-To:1': 0.28; 'thus,': 0.29; 'writes:': 0.29; 'feedback': 0.30; 'expect': 0.31; 'environment,': 0.33; 'to:addr:python-list': 0.33; 'that,': 0.34; 'subject:?': 0.35; 'received:org': 0.36; 'but': 0.36; 'depends': 0.36; 'others.': 0.36; 'charset:us-ascii': 0.36; 'option': 0.37; 'subject:: ': 0.38; 'some': 0.38; 'to:addr:python.org': 0.39; 'subject:-': 0.40; 'header:Received:5': 0.40; 'your': 0.60; 'more': 0.63; 'received:217': 0.68; 'informed': 0.75; 'subject:running': 0.84; 'approach.': 0.91; 'choose.': 0.91 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Dieter Maurer Subject: Re: [web] Long-running process: FCGI? SCGI? WSGI? Date: Thu, 06 Sep 2012 08:07:46 +0200 References: <4ofe485b0m50fi2qa7sk8d01369g2lo5el@4ax.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Gmane-NNTP-Posting-Host: pd9e09195.dip0.t-ipconnect.de User-Agent: Gnus/5.1008 (Gnus v5.10.8) XEmacs/21.4.22 (linux) Cancel-Lock: sha1:JzsjvVPmItsR9jtWverYWdpnxbg= X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 25 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1346911680 news.xs4all.nl 6840 [2001:888:2000:d::a6]:45815 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:28551 Gilles writes: > To write a long-running web application, I'd like to some feedback > about which option to choose. > > Apparently, the choice boilds down to this: > - FastCGI > - SCGI > - WSGI > > It seems like FCGI and SCGI are language-neutral, while WSGI is > Python-specific. > > Besides that, how to make an informed choice about which option to > choose? Obviously, this depends on your environment. Some hosters, web servers, applications may directly support one interface and not others. If you control your whole environment, I would look for a newer approach. I do not know "SCGI" but I know that "WSGI" is fairly recent. This means that during its design, "FastCGI" was already known and not deemed to be sufficient. Thus, you can expect more features (more modularisation, in this case) in "WSGI".