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

Async non-blocking call to datastore? [requires gRPC support] #22

Open
susanlinsfu opened this issue Dec 19, 2015 · 23 comments
Open

Async non-blocking call to datastore? [requires gRPC support] #22

susanlinsfu opened this issue Dec 19, 2015 · 23 comments
Labels
api: datastore Issues related to the googleapis/java-datastore API. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.

Comments

@susanlinsfu
Copy link

Will there be any support for async non-blocking calls to the datastore?

@mziccard
Copy link

Hi @susanlinsfu thanks for your interest.
I think that support for async non-blocking calls will be added once we migrate to gRPC for the transport layer. But I don't have a date to tell you yet. Maybe @jgeewax and @aozarov have more information than I do.

@aozarov
Copy link
Contributor

aozarov commented Dec 21, 2015

Yes, as @mziccard said, we do plan to provide async calls to the Datastore API but
that would be part of the transition to gRPC which will happen early next year (no exact date yet).

@susanlinsfu
Copy link
Author

gRPC has now come to the datastore. Is there a date yet when async features will be released?

@aozarov
Copy link
Contributor

aozarov commented Apr 12, 2016

It is in the roadmap but unfortunately no dates yet.

@susanlinsfu
Copy link
Author

Thanks for the very quick response! If it means anything at all I am really pushing for this feature as spinning up threads for every request really is killing performance! :)

@aozarov
Copy link
Contributor

aozarov commented Apr 13, 2016

Until then you should consider grouping operation when possible using batches.

@garrettjonesgoogle
Copy link
Member

Closing out this issue - even if we left it open, we might overlook updating it when we add gRPC support to datastore. It's not scheduled yet even now.

@lesv
Copy link
Contributor

lesv commented Nov 27, 2016

This is a very important request. Not sure how you want to track asks like this.

@garrettjonesgoogle
Copy link
Member

I think I will re-open this one due to the attention on it.

@lesv
Copy link
Contributor

lesv commented Dec 12, 2016

Perhaps we can incorporate parts of Spotify's library.

@garrettjonesgoogle
Copy link
Member

This is blocked on support for gRPC in app engine.

@lesv
Copy link
Contributor

lesv commented Jan 26, 2017

We've made it work, I'm going to test again, but I can do gRPC in GAE Std 7.

@bmenasha
Copy link
Contributor

GRPC functions on Java8 Standard can we please move forward with using GRPC as transport for Datastore? Thanks

@garrettjonesgoogle
Copy link
Member

I have removed the blocking label since grpc can be used on GAE Java 8 standard.

@danoscarmike
Copy link

This has been added to our feature backlog: https://github.com/GoogleCloudPlatform/google-cloud-java/wiki/Feature-backlog. This issue will be closed but is linked in the backlog and can continue to be used for comment and discussion.

@JoshuaFox
Copy link

Google Cloud Datastore API is much slower than Google AppEngine Datastore API. Nonblocking calls are one approach to a work around. Please implement them.

@chbatey
Copy link

chbatey commented Feb 15, 2018

Any update on when this will be implemented?

@iozozturk
Copy link

Hey team, any news?

@myashchenko
Copy link

hey, any plans to make async API for Datastore?

@ghost
Copy link

ghost commented May 15, 2019

Any update here? Seems odd to not have gRPC for database calls, the performance difference between HTTP and gRPC is obvious.

@sduskis sduskis reopened this May 15, 2019
@BenWhitehead BenWhitehead self-assigned this Jul 25, 2019
@chingor13 chingor13 transferred this issue from googleapis/google-cloud-java Jan 7, 2020
@chingor13 chingor13 added the type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design. label Jan 7, 2020
@BenWhitehead
Copy link
Collaborator

Investigation into changing over to gRPC is underway and we hope to have a idea of the level of effort soon.

@product-auto-label product-auto-label bot added the api: datastore Issues related to the googleapis/java-datastore API. label Jul 10, 2020
@smat
Copy link

smat commented Oct 19, 2020

Any updates on when gRPC support will be available?

@Burtan
Copy link

Burtan commented Sep 18, 2022

Is the old deprecated AppEngine api the only way for non-blocking calls?
https://cloud.google.com/appengine/docs/legacy/standard/java/datastore/async

@meredithslota meredithslota changed the title Async non-blocking call to datastore? Async non-blocking call to datastore? [requires gRPC support] Feb 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: datastore Issues related to the googleapis/java-datastore API. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.
Projects
None yet
Development

No branches or pull requests