Google Application Engine slow in case of Python...

Posted by Aftershock on Stack Overflow See other posts from Stack Overflow or by Aftershock
Published on 2010-06-06T14:06:39Z Indexed on 2010/06/06 14:12 UTC
Read the original article Hit count: 246

Filed under:
|

hi,

I am reading a "table" in Python in GAE that has 1000 rows and the program stops because the time limit is reached. (So it takes at least 20 seconds.)( Is that possible that GAE is that slow? Is there a way to fix that? Is this because I use free service and I do not pay for it?

Thank you.

The code itself is this:

 for u in userall: # userall has 1000 users
        for stockname in stocknamesall: # 4 stocks
            astock= stocksowned()
            astock.quantity = random.randint(1,100)
            astock.nameid = u.key()
            astock.stockid = stockname.key()
            liststocks.append(astock);

© Stack Overflow or respective owner

Related posts about python

Related posts about google-app-engine