[google-appengine] Too much contention on these datastore entities. please try again.

2011-10-05 Thread Benjamin
Hi guys,

I know there are other threads with this topic, but they are a little
old.  I can't seem to code my way out of this error: update point
error too much contention on these datastore entities. please try
again.

I'm only reading and writing to a small data store entity a few times
a second. But I still get swamped with these errors in my logs.  I'm
trying to move the data being accessed into memcache and decrease my
load on the datastore, but i'm surprised i need to do this. I'm just
updating an object with three statistics based on incoming data.

A lot of these errors are coming from a task that is saving data and
updating the stats. Is is possible that the task queue is trying to
write simultaneously and causing the error?

My app id is nimbits1.

Ben

-- 
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.



Re: [google-appengine] Too much contention on these datastore entities. please try again.

2011-10-05 Thread Joshua Smith
Sharding:

http://code.google.com/appengine/articles/scaling/contention.html

On Oct 5, 2011, at 11:01 AM, Benjamin wrote:

 huh. It must be that the task queue is attempting several writes in 
 second. I could use some guidance on the best way to handle this kind
 of demand. I was considering maintaining the statistics in memcache
 and then having them trickle back into the datastore using a cron task
 so i can control the frequency.
 
 
 
 On Oct 5, 10:47 am, Simon Knott knott.si...@gmail.com wrote:
 I believe that the advised write-rate for a single entity group is 1 write
 per second.
 
 -- 
 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.
 

-- 
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.