-
Notifications
You must be signed in to change notification settings - Fork 157
wip! feature: Continuous encoding with per partition realtime offset space allocation back pressure #46
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
Closed
Conversation
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 is a very large change to the way the system works, and affects a lot of tests. POC is done, but will take some time to polish it. |
986f317
to
6921982
Compare
More More More
Tests test impl More Wip! Experiments in self tuning Try to measure rate and do ... what? Performance breakthrough - pressure system all the way back to the consumer Remove old vars, docs Progress bar refactor Tidy up Not sure the queue being empty means what I think it means. try loading thread instead Dynamic loading factor 1mill WIP! Encode offsets continuously to assess required space Heavy docs and clarifications Draft algo complete More More Encoders, fix mock rebalancing More More More More - use info to stop more records Move consumer back to PC wrapped for thread safety, so commits are in line with control More More More - fix parameter naming More naming and fix consumer locking Conditions when no encoding is needed from registered useless continuous encoders - very large test passes More - add work container epoch - ignore old fenced off work when partition assignment changes More- have both old and new styles see the same data - results now equal More efficient loop Big change - stop using old find scan and use continuous instead manageOffsetEncoderSpaceRequirements only once per batch Encoders truncate and reinitialise themselves Slow test Run length continuous fixes Truncate bitset correctly, disalbe/enable encoders as needed Test fixes Test fixes RunLength V1 works Fix sim encoder ignore base offset change Wip! Fixing bitset Fix highest seen record check Fix bitset More More Better tests Draft test for offset back-pressure More More More - OffsetEncodingBackPressureTest passes Cleanup Cleanup More Fix run length truncate function also O(n) to O(m) Runlength encoding fix, trying v2 Run length offset pairs encoding Run length offset pairs encoding V2 more - test pass More Fix run length encoding for base != 0 and new base offsets beyond our run length Segment, combine, extend Collapsing up and down Whops 3 tests left Progress Test fixes So many tests are broken…
6921982
to
803faf8
Compare
e7c43c2
to
5c841c3
Compare
…psm-and-ps # Conflicts: # README.adoc # parallel-consumer-core/src/main/java/io/confluent/csid/utils/JavaUtils.java # parallel-consumer-core/src/main/java/io/confluent/parallelconsumer/offsets/OffsetMapCodecManager.java # parallel-consumer-core/src/main/java/io/confluent/parallelconsumer/state/PartitionState.java # parallel-consumer-core/src/main/java/io/confluent/parallelconsumer/state/PartitionStateManager.java # parallel-consumer-core/src/main/java/io/confluent/parallelconsumer/state/RemovedPartitionState.java # parallel-consumer-core/src/test-integration/java/io/confluent/parallelconsumer/integrationTests/state/PartitionStateCommittedOffsetIT.java # parallel-consumer-core/src/test/java/io/confluent/parallelconsumer/offsets/WorkManagerOffsetMapCodecManagerTest.java # parallel-consumer-core/src/test/java/io/confluent/parallelconsumer/state/PartitionStateCommittedOffsetTest.java # parallel-consumer-core/src/test/resources/logback-test.xml
# Conflicts: # parallel-consumer-core/src/main/java/io/confluent/parallelconsumer/offsets/BitSetEncodingNotSupportedException.java # parallel-consumer-core/src/main/java/io/confluent/parallelconsumer/offsets/ByteBufferEncoder.java # parallel-consumer-core/src/main/java/io/confluent/parallelconsumer/offsets/EncodedOffsetPair.java # parallel-consumer-core/src/main/java/io/confluent/parallelconsumer/offsets/EncodingNotSupportedException.java # parallel-consumer-core/src/main/java/io/confluent/parallelconsumer/offsets/NoEncodingPossibleException.java # parallel-consumer-core/src/main/java/io/confluent/parallelconsumer/offsets/OffsetEncoder.java # parallel-consumer-core/src/main/java/io/confluent/parallelconsumer/offsets/OffsetRunLength.java # parallel-consumer-core/src/main/java/io/confluent/parallelconsumer/offsets/OffsetSimpleSerialisation.java # parallel-consumer-core/src/main/java/io/confluent/parallelconsumer/offsets/OffsetSimultaneousEncoder.java # parallel-consumer-core/src/main/java/io/confluent/parallelconsumer/offsets/RunlengthV1EncodingNotSupported.java # parallel-consumer-core/src/main/java/io/confluent/parallelconsumer/state/PartitionState.java
…iremock fat dependency (slf4j/logback collisions) Upgrades Wiremock from 2.33.2 to 2.34.0
Co-authored-by: Roman Kolesnev <[email protected]>
Closing - Stale. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
based on https://github.com/confluentinc/parallel-consumer/pull/44/files
Fixes
Blocked by: