It's an interesting question. Obviously empirical testing is best, but one could investigate the source code to make an informed guess as to the efficiency. Really the native App Engine runtime API's benefit from using gRPC <http://www.grpc.io/docs/>, rather than JSON, but I feel that the gcloud-java library will likely also be able to make use of the more efficient gRPC when in a suitable environment, falling back to HTTP JSON REST when necessary. I'll try to update this thread tomorrow with any of my findings from investigating the source of gcloud-java <https://github.com/GoogleCloudPlatform/gcloud-java>.
On Wednesday, February 17, 2016 at 4:19:33 PM UTC-5, Robert Fox wrote: > > I'm a Java developer on Googles App Engine platform. Lately I've been > using Managed VMs. According to new-ish documentation on Google's site [1 > <https://cloud.google.com/appengine/docs/managed-vms/java/migrating-an-existing-app> > ]: > > As you become more familiar with the Managed VM environment you should use >> the native features of the Java runtime and the Google Cloud client >> libraries for Java rather than App Engine SDKs. >> I love that the new gcloud-java seems to be a unified API for >> local/remote usage. But I do have one concern... and that is my question: >> How does performance compare to the standard App Engine APIs? I get worried >> with the new REST APIs with their JSON text processing / parsing... I will >> build a test suite if I have to but I was hoping someone might already know. > > > These new developments would seem to be a huge win for Compute Engine if > the new gcloud-java is performant and can run fully authenticated. > > Out of the following services I'm a heavy user of the four in bold. > > *Datastore* > Logging > *Memcache* > Search > *Task Queue* > *URL Fetch* > Users > > -- 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 [email protected]. To post to this group, send email to [email protected]. 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/3fe61131-057a-4bdc-849a-0fc851607ad6%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
