0
votes

i wanted to access appengine datastore of one application in another internal appengine application, i have used endpoints a lot, now i tried cloud datastore api using Google protobuf client library.

my question is ,

which service will be high performing, ignore the fact that endpoints acts as an api and consider in terms of datastore access only) ?

any better suggestion is also helpful!

Thanks

1

1 Answers

1
votes

They are currently very similar. The main difference is that endpoints encodes using JSON and GCD uses a binary format (protobufs). This is only an issue if you send around entities with large blobs (in which case GCD is more efficient). On the other hand, Endpoints lets you write custom code to validate requests, post process results, etc.

Things might change in the future, however, as GCD will likely become faster and cheaper.