autopush-rs icon indicating copy to clipboard operation
autopush-rs copied to clipboard

Optimize BigtableClientImpl pooling

Open data-sync-user opened this issue 2 months ago • 0 comments

As part of https://github.com/mozilla-services/autopush-rs/commit/2fd708654e92838953d030274bbf3de52b45f7d0 I decided to construct the Pool to contain BigtableDb, which is owned and managed by us. While this works, it may be more efficient to pool the grpcio::Channel tjat BigtableClientuses. Neither Channel nor BigtableClient are owned by us, so they’re subject to change, however there is a BigtableClient::new(channel) function which we might be able to use to create the client. Ensuring that the channel is available to extract, however, might be trickier.

┆Issue is synchronized with this Jira Task

data-sync-user avatar Apr 22 '24 21:04 data-sync-user