Skip to content
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

OplogToRedis: Write Parallelism per-Redis (PR Redo) #78

Merged
merged 2 commits into from
May 13, 2024

Conversation

alex-goodisman
Copy link
Contributor

@alex-goodisman alex-goodisman commented May 3, 2024

Redo #75
in main, count through each redis client and make a separate chan and coroutine for clientsCount * ordinalCount different entries. make some changes to aggregation in order to accomodate this.

in the tailer, get the [][]chan and for each incoming publication, first index by the shard ordinal (hash of db name), then iterate through the remaining chans (should be one for each redis client) and publish to all of them.

at present, the publisher stream still accepts an array, but now it's only getting one (each).
fixed array index out of bounds issue

@alex-goodisman alex-goodisman marked this pull request as ready for review May 6, 2024 18:47
@alex-goodisman alex-goodisman merged commit 9cf1006 into master May 13, 2024
8 checks passed
@delete-merged-branch delete-merged-branch bot deleted the alex.sentinel-parallel-redux branch May 13, 2024 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants