Skip to content

BQ storage write api - Mint pool#3272

Open
bblaszkow06 wants to merge 11 commits intoLogflare:mainfrom
bblaszkow06:bb/bigquery-streaming-insert-perf
Open

BQ storage write api - Mint pool#3272
bblaszkow06 wants to merge 11 commits intoLogflare:mainfrom
bblaszkow06:bb/bigquery-streaming-insert-perf

Conversation

@bblaszkow06
Copy link
Copy Markdown
Contributor

@bblaszkow06 bblaszkow06 commented Mar 11, 2026

Initial implementation of the Mint-adapter-based Storage Write API.

Retries and error handling will be covered by following PRs to keep this manageable.

@bblaszkow06 bblaszkow06 force-pushed the bb/bigquery-streaming-insert-perf branch 4 times, most recently from ff9c25f to 6a3f159 Compare March 26, 2026 10:04
@Ziinc Ziinc changed the title BQ streaming insert - Mint pool BQ storage write api - Mint pool Apr 2, 2026
Upgrades grpc ~> 0.11.0 and adds a persistent, supervised
round-robin channel pool using the built-in Mint adapter
to replace the per-call GRPC.Stub.connect
(backed by the custom Finch adapter).

- Add GrpcPool supervisor with per-index GrpcChannelMonitor GenServers;
  channels are registered in a per-pool Registry and selected via an
  atomic counter for lock-free round-robin dispatch
- Add GrpcAuthInterceptor: fetches a fresh Goth token per call and
  injects it as gRPC metadata, replacing the per-call auth header on
  the channel
- Remove local Google.Rpc.* protobuf definitions now provided by the
  googleapis transitive dep (pulled in by grpc 0.11.x)
- Add GRPC.Client.Supervisor to Networking.pools/0 (required by
  grpc 0.11.x for outbound connections)
- google_api_client: use GrpcPool.get_channel/1 and remove Goth.fetch;
  auth is now handled transparently by the interceptor
@bblaszkow06 bblaszkow06 force-pushed the bb/bigquery-streaming-insert-perf branch 2 times, most recently from 00d0357 to 1d15a33 Compare April 2, 2026 10:12
@bblaszkow06 bblaszkow06 marked this pull request as ready for review April 2, 2026 10:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant