[google-appengine] Re: Timeouts

2009-01-03 Thread Aaron OBrien
My app serves a fair amount of requests about 4 a second and ruffly half of
them save to the datastore.  It is very fault tolerant so our users
shouldn't be noticing it - and if they are it's still fairly minor.
In the last 9 hours we have had 10% of these requests fail (about 13,700
requests).  Prior to 2 days ago it was not uncommon to see the failure rate
around 1%  less than 100 failures for over 20 hours.
The code that saves to the data store saves a model that has a reference to
another object.  This referenced object is pretty simple - StringProperty
objects and a couple DateProperty objects.

Is saving this reference more expensive than creating a uniqueId of the
(simple)object and manually saving a the custom defined uniqueId to it?

If this continues throughout the day I guess I'll turn profiling back on and
see what's going on...

Any thoughts on re-working the reference? Is it a more expensive operation
to save and retrieve references to objects rather than a custom unqique key
to the object?  If I reworked the relationship it would force me to turn
back around and query to get the referenced object when I need it though.

Thanks for helping!

-Aaron

On Sat, Jan 3, 2009 at 2:56 AM, Paul Kinlan paul.kin...@gmail.com wrote:

 Hi,

 I also regularly get datastore timeouts for reads and writes.  Looking at
 the status monitor there never seem to be any problems.

 Kind Regards,
 Paul Kinlan

 2009/1/3 Xavier Mathews xavieruni...@gmail.com


 Place it in the issue tracker.

 On 01/02/2009, Alexander Kojevnikov alexan...@kojevnikov.com wrote:
 
  My application is getting a very high number of data store timeouts.
 
  Is there an unreported issue going on right now?
 
  The status monitor doesn't show anything unusual:
  http://code.google.com/status/appengine/detail/datastore/2009/01/02
 
  
 


 --
 Xavier A. Mathews
 Student/Browser Specialist/Developer/Web-Master
 Client Based Tech Support Specialist
 Hazel Crest Illinois
 xavieruni...@gmail.com¥xavierunited@hotmail.com¥truestar...@yahoo.com
 Fear of a name, only increases fear of the thing itself.




 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Indexes won't Vacuum or Update

2008-09-24 Thread Aaron OBrien
I saw the outage posting  saying:
Tonight beginning at around 9:50pm PDT (GMT-7) apps with new indexes
were unable to deploy and apps were unable to vacuum old indexes.  The
issue was resolved at 10:30pm PDT, and all app deployments are
functioning smoothly again.


However I am still unable to deploy my app if my index.yaml file has a new
index on it.  Here is a snippet from my noisy deploy is this related to
the issue from last night or is this a symptom of Bug 543?

2008-09-24 07:55:31,733 DEBUG appcfg.py:141 Creating request for: '
http://appengine.google.com/api/datastore/index/add?version=1app_id=lifeawareservices'
with payload:
indexes:
- kind: Event
  properties:
  - direction: desc
name: datetime
- kind: Event
  properties:
  - name: webuser
  - direction: desc
name: datetime
- kind: Friend
  properties:
  - name: webuser
  - name: updateTimeStamp
- kind: Group
  properties:
  - name: owner
  - name: updateTimeStamp
- kind: Message
  properties:
  - name: delivered
  - name: receiverUserid
  - name: sendTime
- kind: Message
  properties:
  - name: receiverUserid
  - name: sendTime
- kind: Webuser
  properties:
  - direction: desc
name: encryptedUsername

Error 500: --- begin server output ---

Server Error (500)
A server error has occured.
--- end server output ---


-Aaron O'Brien
Shawnee KS

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---