Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

php-gds vs. new official Datastore API? #146

Open
ajck opened this issue Oct 11, 2016 · 4 comments
Open

php-gds vs. new official Datastore API? #146

ajck opened this issue Oct 11, 2016 · 4 comments
Labels

Comments

@ajck
Copy link

ajck commented Oct 11, 2016

@tomwalder I've been an advocate of php-gds for some time both for my own co's projects and in occasional posts as a Google Cloud Insider (more direct access to some of the Google folks building their cloud), and really appreciate your work on this library.

Now that Google have started getting proper PHP support out of the door, wondering if I should/"am supposed to be" moving to their interface. https://googlecloudplatform.github.io/google-cloud-php/#/docs/v0.10.1/datastore/datastoreclient

Just wondering what your take was on things, please Tom? i.e. do you see php-gds as winding down and people moving to the official offering (esp whenever their protocol buffer support appears), or will you be wrapping their functionality into this lib? Are there any significant performance or feature advantages one way or the other?

Many thanks,

@tomwalder
Copy link
Owner

Hi there.

TL;DR Hopefully some healthy competition, and more options for developers!

I plan to maintain PHP-GDS well into the future. My company uses it in commercial applications - as do many others now.

I am very aware of the "official" Google client - in fact there was some initial involvement from me on that project. However, I didn't have the time to dedicate to re-write PHP-GDS for them, and it would have meant all current users would be "out in the dark".

So, I guess the long story short is..

There are 2 libraries now. PHP-GDS is more well established, with a larger existing user base. Those people will be supported, and I will do my best to move the library forward.

It will up be to individual developers and organisations to decide which library suits them best.

Cheers! And thanks for all your support so far!

@tomwalder
Copy link
Owner

Worth noting that, at the time of writing, PHP-GDS is by far the most performant option for AppEngine.

And they both use the same REST API when used off-AppEngine.

I think the Google library is probably a closer integration to the exposed APIs from Datastore - which may be a developer preference.

@ajck
Copy link
Author

ajck commented Oct 13, 2016

Great, thanks Tom, encouraging to hear all that. Why is PHP-GDS by far the most performant? Is it just because of the protocol buffer usage, and if so will they not be on par shortly when the official lib gets protocol buffer support, or are there other reasons?

Thanks again.

@tomwalder
Copy link
Owner

Last time I checked, the Google library only supports the REST API.

I believe they are planning to add support for the gRPC API. But That gRPC API won't currently run on AppEngine standard.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants