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

chore: Set default flag pagination size to 100 #428

Merged
merged 1 commit into from
Sep 13, 2024

Conversation

cdelst
Copy link
Contributor

@cdelst cdelst commented Sep 12, 2024

Previously we were doing numFlags / 20 requests to fetch all flags. This was pretty slow. A page size of 100 is much more performant. (For our env, query time went from roughly 12 seconds to like 4, meaning a lot of the overhead was network related, which we just cut by a factor of 5.)

@cdelst cdelst changed the title Set default flag pagination size to 100 chore: Set default flag pagination size to 100 Sep 13, 2024
@cdelst cdelst merged commit b492666 into main Sep 13, 2024
10 checks passed
@cdelst cdelst deleted the cdelst/sc-256000/make-flags-fetch-much-faster branch September 13, 2024 22:57
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.

2 participants