-
Notifications
You must be signed in to change notification settings - Fork 1
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: messenger improve latency #108
Merged
gk-kindred
merged 36 commits into
master
from
feature/messenger-state-transition-timings
Nov 11, 2024
Merged
Changes from 35 commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
56f4a88
feat: add timing to state transitions in messenger
gk-kindred 034485c
chore: make tokio select biased for inbound service
gk-kindred e43eb6c
chore: inbound service, process next actions even in candidate messag…
gk-kindred b40017e
chore: flip the arms in biased tokio::select for inbound service
gk-kindred 544fe9c
chore: make arm for feedback to run only if there is Some feedback
gk-kindred e264eb2
chore: use talos version - biased arms flipped - print time spend in …
gk-kindred 163e24e
chore: remove tokio::select and use mpsc channel try_recv
gk-kindred 9a87c85
chore: comment out the printing of stats in inbound service for try_r…
gk-kindred b79569f
chore: remove the pruning and commit check for every feedback
gk-kindred d2af214
chore: use tokio select without biased and print useful metrics
gk-kindred a6ceff4
chore: optimize suffix operations - getting items to process and upda…
gk-kindred 407b3d9
chore: reduce the prune_start_threshold
gk-kindred eb14fd3
chore: commit and prune logic kicks in after 10_000 completed actions
gk-kindred 826ca48
chore: commit and prune logic kicks in when prune_index is above the …
gk-kindred 91b9efe
chore: call process_next_actions in 10ms interval
gk-kindred e9fab0a
chore: reduce the interval to 5ms
gk-kindred 004523f
chore: use take_while to update prune_index
gk-kindred 05b62a9
chore: clean up
gk-kindred 7708385
chore: pass topic creation configs to create topic bin
gk-kindred da92edf
chore: print topic configs passed to create_topic
gk-kindred 100f869
chore: print time taken between publish and receive acks
gk-kindred 8a5cb34
chore: print time taken for building the list of actions to process
gk-kindred c1b1f94
chore: update prune index at the end of processing next actions
gk-kindred ceac5b0
chore: print the timing from decision create to on_commit publish
gk-kindred 4dcecb6
chore: print timestamps
gk-kindred b47f123
chore: update prune index only when completed
gk-kindred 10d0886
chore: comment printing messages
gk-kindred d1ca56c
chore: final refactoring - part 1
gk-kindred 3f46a8a
chore: final refactoring - part 2
gk-kindred f5461be
chore: prune check and commit more frequently
gk-kindred 5e0cb0b
chore: reduce commit frequency but do prune check often
gk-kindred 38496b7
chore: introduce config for inbound service and commit based on the c…
gk-kindred 111b266
chore: set the commit_size to 2000
gk-kindred 518a4a7
chore: prune logic only when above the threshold
gk-kindred 88ca2cc
chore: update the default commit_size to 5K records
gk-kindred 67140e1
chore: updates from review comments
gk-kindred 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 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
34 changes: 31 additions & 3 deletions
34
examples/certifier_kafka_pg/examples/kafka_create_topic.rs
This file contains 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 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 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 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 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 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.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A small typo