Giter Club home page Giter Club logo

Comments (2)

jongillham avatar jongillham commented on June 28, 2024

Is it happening consistently when saving a single entity or is that occasional as well?

The reason memcache.AddMulti is called instead of memcache.Add when one entity is being stored is because the functions make the same backend RPC call so there is no performance advantage by using Add when we are storing only one entity. Therefore the nds code is a bit cleaner not having an if len(item) == 1 { memcache.Add } else { memcache.AddMulti } statement:

google.golang.org/appengine/memcache.Add
google.golang.org/appengine/memcache.AddMulti

from nds.

johngb avatar johngb commented on June 28, 2024

No, it's not happening consistently. I think that the error is a general Memcache error that is thrown by AppEngine depending on load etc, so I'm not worried about it. The error being a AddMulti error is what concerned me as a possible bug, but your explanation makes a lot of sense, thanks.

from nds.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.