Users are clever and insidious when it comes to breaking software. If you
aren’t using a transaction in a get/update/put cycle, there are all manner
of ways that updates could get screwed up or lost. Consider that requests
might be sitting for many seconds at a cold start and therefore come in out
of order… users may click buttons many times, launching multiple ajax
requests… and since you only see this under heavy traffic, you’re probably
seeing some weird 0.01% edge behavior.

Transactions are the only way to guarantee that get/update/put cycles have
the effect you think they do. This is the first thing I would fix before
trying anything else.

Jeff

On Tue, Nov 1, 2016 at 5:42 PM, Jonathan Munson <jpmun...@gmail.com> wrote:

> Good thought, but in this case only one user can update the entity.
>
> On Tuesday, November 1, 2016 at 6:13:13 PM UTC-4, pdknsk wrote:
>>
>> If more than one user can update the same entity, the bug may be that
>> you're not updating the entity atomically (as in a transaction).
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-appengine+unsubscr...@googlegroups.com.
> To post to this group, send email to google-appengine@googlegroups.com.
> Visit this group at https://groups.google.com/group/google-appengine.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/google-appengine/98666a27-819f-4513-a596-
> 4f29ba3906da%40googlegroups.com
> <https://groups.google.com/d/msgid/google-appengine/98666a27-819f-4513-a596-4f29ba3906da%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CADK-0ugyY0orGbnY%2BUc-wcKkM_o9Hf7kQe3dF7-MLJ0T-qpC%3Dg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to