One caveat: if you stuff too many entities (that are in a single entity
group) into a write, you'll hit an RPC limit exception. It's pretty hard to
trigger this, though. You'll need to be writing ~10mb+ worth of data in a
single write to trigger it.

--
Ikai Lan
Developer Programs Engineer, Google App Engine
plus.ikailan.com



On Tue, Feb 7, 2012 at 4:53 PM, Andrew Myers <am2...@gmail.com> wrote:

> Thanks Ikai.  Appreciate the clarification!
>
> All the best,
> Andrew.
>
> On 8 February 2012 11:42, Ikai Lan (Google) <ika...@google.com> wrote:
> > Andrew, multiple writes of entities in a single batch put to the same
> entity
> > group count as 1 entity group write (but many more datastore write ops -
> > this might be confusing), so you won't run into contention issues.
> >
> > --
> > Ikai Lan
> > Developer Programs Engineer, Google App Engine
> > plus.ikailan.com
> >
> >
> >
> > On Tue, Feb 7, 2012 at 2:48 PM, Andrew Myers <am2...@gmail.com> wrote:
> >>
> >> Thanks Jeff.  Much appreciated.  I'm using Objectify too ;-)
> >>
> >> On 8 February 2012 09:28, Jeff Schnitzer <j...@infohazard.org> wrote:
> >> > From my experiments, writing large #s of entities to a single EG in a
> >> > batch put is quite fast and does not cause the throughput problem.
> >> >
> >> > Jeff
> >> >
> >> > On Tue, Feb 7, 2012 at 4:43 PM, Andrew Myers <am2...@gmail.com>
> wrote:
> >> >> I'm sure this is a FAQ but I haven't been able to find the answer so
> >> >> far.
> >> >>
> >> >> I have read there's a limit of 2-3 writes per second per entry group.
> >> >>  If you batch out multiple entities that all have the same parent is
> this
> >> >> ok?  Or does it count as multiple writes?  I understand it is
> multiple
> >> >> writes in terms of write quotas but am not sure if it's a problem in
> terms
> >> >> of the writes per group per second?
> >> >>
> >> >> Many thanks,
> >> >> Andrew
> >> >>
> >> >> --
> >> >> You received this message because you are subscribed to the Google
> >> >> Groups "Google App Engine for Java" group.
> >> >> To post to this group, send email to
> >> >> google-appengine-java@googlegroups.com.
> >> >> To unsubscribe from this group, send email to
> >> >> google-appengine-java+unsubscr...@googlegroups.com.
> >> >> For more options, visit this group at
> >> >> http://groups.google.com/group/google-appengine-java?hl=en.
> >> >>
> >> >
> >> > --
> >> > You received this message because you are subscribed to the Google
> >> > Groups "Google App Engine for Java" group.
> >> > To post to this group, send email to
> >> > google-appengine-java@googlegroups.com.
> >> > To unsubscribe from this group, send email to
> >> > google-appengine-java+unsubscr...@googlegroups.com.
> >> > For more options, visit this group at
> >> > http://groups.google.com/group/google-appengine-java?hl=en.
> >> >
> >>
> >> --
> >> You received this message because you are subscribed to the Google
> Groups
> >> "Google App Engine for Java" group.
> >> To post to this group, send email to
> >> google-appengine-java@googlegroups.com.
> >> To unsubscribe from this group, send email to
> >> google-appengine-java+unsubscr...@googlegroups.com.
> >> For more options, visit this group at
> >> http://groups.google.com/group/google-appengine-java?hl=en.
> >>
> >
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google App Engine for Java" group.
> > To post to this group, send email to
> google-appengine-java@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-appengine-java+unsubscr...@googlegroups.com.
> > For more options, visit this group at
> > http://groups.google.com/group/google-appengine-java?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine for Java" group.
> To post to this group, send email to
> google-appengine-java@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine-java+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine-java?hl=en.
>
>

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

Reply via email to