سؤال

When we create a key in objectify from a web safe string, is Objectify hitting the datastore in anyway. For example when we do ...

Key.create(webSafeString):

Is Objectify using some idempotent algorithm to create the key, or is it dependent on what is stored in the datastore, or what entities have been registered? What exceptions can we expect to be thrown?

Also, if it is reading the datastore, what is the cost?

هل كانت مفيدة؟

المحلول

No. Creating a Key from a websafe string is just protobuf manipulation, and should not involve an RPC to Google's service layer.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top