[google-appengine] Re: Severe scalability problems - getting http server 500 error under heavy load.

2009-04-16 Thread Anonymous Coderrr
GAE to spawn > enough instances to handle the traffic.  I don't know their exact > algorithm, but I know it takes time to scale up. > > On Apr 15, 1:33 pm, Anonymous Coderrr wrote: > > > > > Good points. > > > I rewrote the test so it fires off 20 requests fr

[google-appengine] Re: Severe scalability problems - getting http server 500 error under heavy load.

2009-04-15 Thread Anonymous Coderrr
, then > the system wont work well. You need to ramp up the usage slowly. > > Even a slashdotting would result in a 'ramp' usage. > > Also 500 users coming from once source, might be a bit suspicios, and > appengine could be weary of a DOS attack. > > On 15/04/2009,

[google-appengine] Re: Severe scalability problems - getting http server 500 error under heavy load.

2009-04-14 Thread Anonymous Coderrr
additionally, under this load, the time it takes to service a request grows from 2 seconds per request (no load) to 15 seconds per request (high load). On Apr 14, 11:07 pm, Anonymous Coderrr wrote: > I have a fairly simple app - it looks up a couple of objects from the > google datasto

[google-appengine] Severe scalability problems - getting http server 500 error under heavy load.

2009-04-14 Thread Anonymous Coderrr
I have a fairly simple app - it looks up a couple of objects from the google datastore and then creates a page from django template - pure vanilla. I wanted to see how my app would perform under heavy load, so I set up a simulation where 500 virtual web-browsers would attempt to request my page t

[google-appengine] Re: Gqlquery - is there a way to test the size of a list property of a class?

2009-04-14 Thread Anonymous Coderrr
ok, thanks On Apr 14, 4:49 pm, Tim Hoffman wrote: > Nope > > You will need to keep a int property in the class and keep it updated > as you add and delete entries from the list > > T > > On Apr 15, 6:59 am, Anonymous Coderrr wrote: > > > > > Le

[google-appengine] Gqlquery - is there a way to test the size of a list property of a class?

2009-04-14 Thread Anonymous Coderrr
Let's say I have: class A (db.Model) someList = db.ListProperty(sometype) Is there any way I can include in the where clause of a GQL query the size of the list? something like select * from A where someList.__size__ = :someint Thank you. --~--~-~--~~~---~--~-

[google-appengine] Re: Question about transactions and Entity Groups

2009-03-19 Thread Anonymous Coderrr
gt; a=A() > a.put()  # create the parent object > bObjs = [B(parent=a, somestring=s) for s in somelist] > db.put(bObjs) > > 2009/3/19 Anonymous Coderrr : > > > > > > > Hi, > > > The documentation for entity-groups and transactions say that entities > > must al

[google-appengine] Question about transactions and Entity Groups

2009-03-19 Thread Anonymous Coderrr
Hi, The documentation for entity-groups and transactions say that entities must all be in the same eneity group for transaction operations to work. But it does not specifically say how to put entities in the same entity group, other than some mention of setting the same parent, which it also doe