-
Notifications
You must be signed in to change notification settings - Fork 46
chore: improve subscription reconciler #945
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
Merged
Merged
Changes from all commits
Commits
Show all changes
51 commits
Select commit
Hold shift + click to select a range
9973fb2
chore: add persub limit option to pubsub config
thlorenz 93cf550
feat: initial pool impl using pubsub client trait
thlorenz 0c21aa8
chore: extract pubsub connection to separate module
thlorenz 43d9b7a
test: add mock PubsubConnection and make pool generic
thlorenz bb2b31d
chore: account sub tests for pool
thlorenz f220952
test: add comprehensive tests for pubsub pool account and program sub…
thlorenz 50a86bd
chore: fix overkill and incomplete error conversion
thlorenz 4512806
chore: prevent multi connection creation race condition
thlorenz 29158ee
chore: reconnect pubsub pool on recovery
thlorenz ec5073a
refactor: extract subscribe logic to helper method
thlorenz a37d798
chore: harden pubsub reconnect to ensure all existing subs are closed
thlorenz 5c4a206
feat: add pubsub_client_connections_gauge metric
thlorenz 5c98860
fix: fmt
thlorenz 0179218
Merge branch 'master' into thlorenz/websocket-pool-conections
thlorenz 58089c8
tmp: dial down max subs per connection
thlorenz 6bb8e0d
chore: fix unsub bug
thlorenz 02f3dd8
chore: subscriptions fn returns hashset
thlorenz b8ba3e7
chore: subs union
thlorenz 72ce021
chore: introducing union/intersection
thlorenz 4dd13c0
chore: laser client has access to shared subscriptions
thlorenz 4d823e7
chore: all clients return subs (instead option)
thlorenz 06a4f67
chore: optimize set intersection method for submux
thlorenz c3d5329
feat: reconciler considers union vs. intersection of subscriptions
thlorenz 230328f
chore: test reconciler
thlorenz 5e1668a
chore: move previously existint reconciler tests to same module
thlorenz 4047bdc
chore: fix bug in reconciler logic
thlorenz 940db38
chore: no more reconciliation outside reconciler
thlorenz cc75e15
Merge branch 'master' into thlorenz/websocket-pool-conections
thlorenz 35e31a8
chore: fmt + lint
thlorenz 5253d66
chore: remove subscription_count method
thlorenz bf4a759
Merge branch 'thlorenz/websocket-pool-conections' into thlorenz/pool+…
thlorenz 41f2040
Merge branch 'master' into thlorenz/websocket-pool-conections
thlorenz b8df74e
Merge branch 'master' into thlorenz/pool+better-reconciler
thlorenz 0e3810d
chore: fmt
thlorenz 46f1a1c
Merge branch 'thlorenz/websocket-pool-conections' into thlorenz/pool+…
thlorenz cdee786
fix: lint
thlorenz 2d280a5
fix: fmt
thlorenz 7ec483a
chore: fix coderabbits
thlorenz d401b8c
chore: fix import
thlorenz d7bd7a9
chore: remove read/write lock with potential race condition
thlorenz db8480d
ci: attempt to fix protoc discovery
thlorenz c41ddb4
tmp: remove non-problemeatic workflows for quicker triaging
thlorenz 2afd9a1
ci: bust cache
thlorenz 486e44d
Merge branch 'master' into thlorenz/websocket-pool-conections
thlorenz ec54854
Merge branch 'master' into thlorenz/pool+better-reconciler
thlorenz e3b3f04
Revert "tmp: remove non-problemeatic workflows for quicker triaging"
thlorenz 0aeb168
Merge branch 'thlorenz/websocket-pool-conections' into thlorenz/pool+…
thlorenz d5d5ad9
chore: address @bmuddha nits
thlorenz 41dcf2e
Merge branch 'thlorenz/websocket-pool-conections' into thlorenz/pool+…
thlorenz bff0cd2
Merge branch 'master' into thlorenz/pool+better-reconciler
thlorenz 4c276e6
chore: fix duplicate doc
thlorenz File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.