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


Groups > comp.lang.python > #3274

Questions about GIL and web services from a n00b

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <chris.humphres@windsorcircle.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.009
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; 'frameworks': 0.04; 'startup': 0.04; 'soap': 0.05; 'django,': 0.07; 'json': 0.07; 'python': 0.07; 'admit': 0.09; 'received:209.85.160.174': 0.09; 'received:mail-gy0-f174.google.com': 0.09; 'web2py,': 0.09; 'looked': 0.10; 'api': 0.11; "api's": 0.16; 'cores': 0.16; 'subject:GIL': 0.16; 'threading': 0.16; 'thanks,': 0.17; 'subject:Questions': 0.19; 'discussion': 0.20; 'language': 0.20; 'seems': 0.21; 'integration': 0.26; 'received:71': 0.26; 'xml': 0.26; "i'm": 0.26; 'chris': 0.27; 'google': 0.27; 'developers': 0.28; 'received:209.85.160': 0.28; 'external': 0.29; 'indicated': 0.29; 'probably': 0.30; 'list': 0.30; 'lock': 0.31; 'however,': 0.31; 'to:addr:python-list': 0.32; "i've": 0.33; 'things': 0.33; 'data.': 0.33; 'using': 0.34; 'primary': 0.34; 'there': 0.35; 'causing': 0.35; 'couple': 0.35; 'finding': 0.35; 'header:User- Agent:1': 0.35; 'point': 0.35; 'backend': 0.35; 'status,': 0.35; 'data': 0.37; 'rest': 0.37; 'received:209.85': 0.37; 'issue': 0.37; 'subject:web': 0.38; 'received:google.com': 0.38; 'but': 0.38; 'pretty': 0.38; 'reasons': 0.38; 'not,': 0.39; 'forgive': 0.39; 'majority': 0.39; 'to:addr:python.org': 0.39; 'where': 0.39; 'received:209': 0.39; 'how': 0.39; 'would': 0.40; 'header:Received:5': 0.40; 'choice.': 0.60; 'simple': 0.60; 'best': 0.60; 'our': 0.63; 'wonderful': 0.65; 'subject:about': 0.66; 'due': 0.67; 'articles': 0.67; 'database.': 0.69; 'me:': 0.84; 'rethink': 0.84; 'service?': 0.84; 'exchanging': 0.93; 'subject:services': 0.93; 'e-commerce': 0.95
Date Fri, 15 Apr 2011 12:33:16 -0400
From Chris H <chris.humphres@windsorcircle.com>
Organization Windsor Circle
User-Agent Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9
MIME-Version 1.0
To python-list@python.org
Subject Questions about GIL and web services from a n00b
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://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 <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.398.1302885207.9059.python-list@python.org> (permalink)
Lines 28
NNTP-Posting-Host 82.94.164.166
X-Trace 1302885208 news.xs4all.nl 81475 [::ffff:82.94.164.166]:50260
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:3274

Show key headers only | View raw


So I'm in a startup where we are considering using python as our primary 
development language for all the wonderful reasons you would expect.  
However, I've had a couple of things come up from mentors and other 
developers that is causing me to rethink whether python is the right 
choice.  I hope this is the right list for this type of discussion 
(please forgive me if not and point me in the right direction).

We are looking to build an e-commerce integration product so the 
majority of our work will be linking external SOAP and REST based web 
service API's to our own REST based API and backend database.    I have 
had the following comments/questions come to me:

1. Are you sure you want to use python because threading is not good due 
to the Global Lock (GIL)?  Is this really an issue for multi-threaded 
web services as seems to be indicated by the articles from a Google 
search?  If not, how do you avoid this issue in a multi-threaded process 
to take advantage of all the CPU cores available?

2. Are there good web services frameworks available for building a REST 
based service?  I admit I have looked at web2py, Django, pyramid/pylons, 
and a few others.  SOAP seems to be pretty well supported but I'm not 
finding the same for quick development of REST based services for 
exchanging JSON or XML formatted data.  This is probably just my n00b 
status, but what tools are best for building a simple REST data exchange 
API?

Thanks,
Chris

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


Thread

Questions about GIL and web services from a n00b Chris H <chris.humphres@windsorcircle.com> - 2011-04-15 12:33 -0400
  Re: Questions about GIL and web services from a n00b sturlamolden <sturlamolden@yahoo.no> - 2011-04-17 07:37 -0700
  Re: Questions about GIL and web services from a n00b sturlamolden <sturlamolden@yahoo.no> - 2011-04-17 08:31 -0700
  Re: Questions about GIL and web services from a n00b Lamont Nelson <lamont@brightfruits.com> - 2011-04-19 00:48 -0700
    Re: Questions about GIL and web services from a n00b Chris H <chris.humphres@windsorcircle.com> - 2011-04-20 16:01 -0400

csiph-web