Path: csiph.com!usenet.pasdenom.info!news.albasani.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.004 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'encoded': 0.05; '(so': 0.07; 'soap': 0.07; 'scripts': 0.09; 'python': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'stack,': 0.09; 'subject:software': 0.09; 'subject:python': 0.11; 'server,': 0.15; '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:simple': 0.16; 'will:': 0.16; 'requests': 0.18; 'load': 0.19; 'cc:2**0': 0.23; 'cc:no real name:2**0': 0.24; 'header:User-Agent:1': 0.26; 'cc:addr:gmail.com': 0.27; 'i.e.': 0.27; 'integrate': 0.27; 'header:X-Complaints-To:1': 0.28; 'writes:': 0.29; 'handled': 0.29; 'e.g.': 0.30; 'framework': 0.30; 'point': 0.31; 'could': 0.32; 'subject:service': 0.33; 'to:addr :python-list': 0.33; 'likely': 0.33; 'third': 0.34; 'server': 0.35; 'received:org': 0.36; 'but': 0.36; 'charset:us-ascii': 0.36; 'quite': 0.37; 'data': 0.37; 'subject:: ': 0.38; 'description': 0.39; 'to:addr:python.org': 0.39; 'build': 0.39; 'skip:" 10': 0.40; 'header:Received:5': 0.40; 'think': 0.40; 'your': 0.60; 'back': 0.62; 'future.': 0.62; 'request.': 0.64; 'within': 0.64; 'our': 0.65; 'forward': 0.66; 'received:217': 0.68; 'receive': 0.71; 'increase': 0.72; 'exchanged': 0.84; 'hour,': 0.84; 'light,': 0.91 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Dieter Maurer Subject: Re: Suitable software stacks for simple python web service Date: Thu, 22 Nov 2012 07:37:26 +0100 References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Gmane-NNTP-Posting-Host: pd9e08d4b.dip0.t-ipconnect.de User-Agent: Gnus/5.1008 (Gnus v5.10.8) XEmacs/21.4.22 (linux) Cancel-Lock: sha1:hz6zaH8xSa6lM8mFRDkl+nY2aGI= Cc: kevin.p.dwyer@gmail.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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 27 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1353566257 news.xs4all.nl 6916 [2001:888:2000:d::a6]:59546 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:33787 Kev Dwyer writes: > I have to build a simple web service which will: > > - receive queries from our other servers > - forward the requests to a third party SOAP service > - process the response from the third party > - send the result back to the original requester > > From the point of view of the requester, this will happen within the scope > of a single request. > > The data exchanged with the original requester will likely be encoded as > JSON; the SOAP service will be handled by SUDS. > > The load is likely to be quite light, say a few requests per hour, though > this may increase in the future. > > Given these requirements, what do you think might be a suitable software > stack, i.e. webserver and web framework (if a web framework is even > necessary)? >From your description (so far), you would not need a web framework but could use any way to integrate Python scripts into a web server, e.g. "mod_python", "cgi", "WSGI", .... Check what ways your web server will suport.