-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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(clustering): entity streaming based cp-dp protocol with lmdb streaming #11632
Draft
bungle
wants to merge
8
commits into
master
Choose a base branch
from
feat/cp-dp-entity-streaming
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
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
bungle
added
pr/do not merge
pr/discussion
This PR is being debated. Probably just a few details.
labels
Sep 21, 2023
bungle
force-pushed
the
feat/cp-dp-entity-streaming
branch
from
September 21, 2023 09:43
528e985
to
9253769
Compare
bungle
force-pushed
the
feat/cp-dp-entity-streaming
branch
5 times, most recently
from
September 21, 2023 16:13
1d0e871
to
42a038d
Compare
bungle
force-pushed
the
feat/cp-dp-entity-streaming
branch
8 times, most recently
from
September 25, 2023 17:48
b4a9c5a
to
6b7880a
Compare
bungle
force-pushed
the
feat/cp-dp-entity-streaming
branch
3 times, most recently
from
September 25, 2023 17:52
97f3aa4
to
1ddff8f
Compare
bungle
force-pushed
the
feat/cp-dp-entity-streaming
branch
7 times, most recently
from
October 9, 2023 13:12
052e375
to
5fa3bdc
Compare
Not coming to 3.5 |
bungle
force-pushed
the
feat/cp-dp-entity-streaming
branch
from
October 10, 2023 18:53
5fa3bdc
to
a98e1aa
Compare
bungle
force-pushed
the
feat/cp-dp-entity-streaming
branch
3 times, most recently
from
October 24, 2023 09:54
0e39c53
to
7e0dc8a
Compare
bungle
force-pushed
the
feat/cp-dp-entity-streaming
branch
7 times, most recently
from
November 1, 2023 11:34
2ad9db5
to
ebbad2a
Compare
Signed-off-by: Aapo Talvensaari <[email protected]>
### Summary Uses streaming protocol for CP-DP reconfigure to avoid huge blob inflation/deflation + json encoding/decoding. Signed-off-by: Aapo Talvensaari <[email protected]>
### Summary Removes a lot of unneeded processing from the data plane side by streaming reconfigure data directly to lmdb transaction, and instead of doing full declarative config validation/flattening etc. it just does entity level validation (the entity level validation on DP side we can remove later on, if we decide so). Signed-off-by: Aapo Talvensaari <[email protected]>
### Summary Skip full validation of entities and validate the fields only. Before: ``` [clustering] received updated configuration from control plane: 17291 ms ``` After: ``` [clustering] received updated configuration from control plane: 11213 ms ``` Signed-off-by: Aapo Talvensaari <[email protected]>
Signed-off-by: Aapo Talvensaari <[email protected]>
… entities Signed-off-by: Aapo Talvensaari <[email protected]>
bungle
force-pushed
the
feat/cp-dp-entity-streaming
branch
from
November 9, 2023 07:46
ebbad2a
to
c90a5aa
Compare
Signed-off-by: Aapo Talvensaari <[email protected]>
3 tasks
…es in smaller space Signed-off-by: Aapo Talvensaari <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
core/clustering
core/db
pr/discussion
This PR is being debated. Probably just a few details.
schema-change-noteworthy
size/XXL
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.
Summary
The PR #11630 adds streaming protocol for CP-DP reconfigure to avoid huge blob inflation/deflation + json encoding/decoding. This PR includes that and goes one step further and also streams entities directly to lmdb transaction, and moves to entity level validation only (thus a lot of "unneccessary" processing is removed from DP side).
KAG-2673
KAG-2670
KAG-2676