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

Decouple sync/normalize flows #754

Closed
wants to merge 22 commits into from
Closed

Conversation

serprex
Copy link
Contributor

@serprex serprex commented Dec 5, 2023

Previously after each sync we'd pause reading slot to process table schema deltas & normalize

It turns out table schema deltas don't need to be immediately processed before next sync, so instead use a channel to create one normalize flow per sync batch which let's normalize process concurrently, only waiting at end of every 32 syncs

@serprex serprex force-pushed the cdc-parallel-sync-normalize branch 4 times, most recently from 54058c0 to dfb5555 Compare December 7, 2023 21:09
@serprex serprex force-pushed the cdc-parallel-sync-normalize branch from bfea016 to bf2effe Compare December 12, 2023 14:11
@serprex serprex force-pushed the cdc-parallel-sync-normalize branch from 7ccd121 to db144de Compare December 12, 2023 18:39
serprex added a commit that referenced this pull request Dec 22, 2023
serprex added a commit that referenced this pull request Dec 22, 2023
@serprex
Copy link
Contributor Author

serprex commented Jan 3, 2024

This was done in the totally wrong way. #893 is simpler & correct

@serprex serprex closed this Jan 3, 2024
@serprex serprex deleted the cdc-parallel-sync-normalize branch February 5, 2024 16:46
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.

1 participant