-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
feat: Add option to prevent broadcast on query teardown (10x perf increase) #10363
base: main
Are you sure you want to change the base?
Conversation
@alekangelov: Thank you for submitting a pull request! Before we can merge it, you'll need to sign the Apollo Contributor License Agreement here: https://contribute.apollographql.com/ |
🦋 Changeset detectedLatest commit: 800e102 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
This PR is awesome @alekangelov . We're already trying it out in our codebase. I hope it gets merged! |
big thanks to @nathanmarks for finding out the leak |
Checklist:
If this PR is a new feature, please reference an issue where a consensus about the design was reached (not necessary for small changes)
[] Make sure all of the significant new logic is covered by tests -> not opposed to writing tests, but would appreciate a little help with this one. Originally, this broadcasting logic wasn't tested in the first place? Not sure, tho.
Here's the scalability threads: Scalability when many
useQuery
are used #10322 useQuery teardown performance #10291Before
After