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

DM-48838: Create Gafaelfawr tokens in parallel #403

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rra
Copy link
Member

@rra rra commented Feb 8, 2025

When creating a flock, create the Gafaelfawr tokens in parallel (up to the limit of the httpx connection pool, which is 100) instead of serially.

No business is using the shared global httpx client and connection pool, so remove it from the constructors of all of the business classes and stop passing it down. The Nublado business uses a separate connection pool per monkey maintained in the Nublado client, and the TAP business uses pyvo, which manages its own connections.

When creating a flock, create the Gafaelfawr tokens in parallel
(up to the limit of the httpx connection pool, which is 100) instead
of serially.

No business is using the shared global httpx client and connection
pool, so remove it from the constructors of all of the business
classes and stop passing it down. The Nublado business uses a
separate connection pool per monkey maintained in the Nublado client,
and the TAP business uses pyvo, which manages its own connections.
@rra rra requested a review from fajpunk February 8, 2025 00:47
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