Alexey Andreev

Results comments of Alexey Andreev

I don't think it's a client library issue. Even if we replace `mt_rand()` with `random_int()`, there's no guarantee that no part of the library uses the same function. If you...

Well, your plan was to use standard function with side effects (`mt_rand()`) and assume that all used parts of all used libraries call this function in predictable manner (or don't...

Apparently all gRPC requests are handled by `Google\Cloud\Core\GrpcRequestWrapper`, which wraps them with `Google\Cloud\Core\ExponentialBackoff`. There are no min/max/multiplier options for backoff. The only configurable parameter is maximal number of retries (default...

I found that requested feature is implemented (and gapic configuration is respected), but for some reason it is disabled by default. All gRPC methods (except for `ExecuteStreamingSql` and `StreamingRead`) are...

Adding a flag to `$config` array that makes `SpannerClient` constructor use described trick - yes, I'll do that.

As @castaneai and @dwsupplee noted, the problem cause is not receiving data, but converting it. I guess a row with lots of fields of different types (including arrays!) would be...

Looks like the problem is solved. Shouldn't this issue be closed?

Adding a couple of public methods to ping a session and to maintain a session pool at any time is easy, but adding a long-running background task is a problem....

PHP is synchronous and single-threaded by design. Web server creates a separate PHP environment for each request, and this environment is destroyed after response is served. This means that for...

Well, `keepAlive()` method name is a bit misleading. It _does not_ actually keep a session alive. When a session is `acquire()`d, it is moved from free session queue to in-use...