Skip to content Skip to sidebar Skip to footer

App Engine: Difference Between Ndb And Datastore

I have been going through the Google App Engine documentation (Python) now and found two different types of storage. NDB Datastore DB Datastore Both quota limits (free) seem to

Solution 1:

In simple words these are two versions of datastore . db being the older version and ndb the newer one. The difference is in the models, in the datastore these are the same thing. NDB provides advantages like handling caching (memcache) itself. and ndb is faster than db. so you should definitely go with ndb. to use ndb datastore just use ndb.Model while defining your models


Post a Comment for "App Engine: Difference Between Ndb And Datastore"