Deep inside (google.cloud.spanner.SpannerImpl) the client library grpc is used. Grpc enables non-blocking/asynchronous paradigms.
So it should be possible to expose a real asynchronous api. With real I mean a true event-driven approach and not just wrap the current blocking DatabaseClientImpl using a thread pool.
Deep inside (google.cloud.spanner.SpannerImpl) the client library grpc is used. Grpc enables non-blocking/asynchronous paradigms.
So it should be possible to expose a real asynchronous api. With real I mean a true event-driven approach and not just wrap the current blocking DatabaseClientImpl using a thread pool.