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

Handle incremental updates from indexer and ingester #48

Open
fsgeek opened this issue Feb 7, 2024 · 0 comments
Open

Handle incremental updates from indexer and ingester #48

fsgeek opened this issue Feb 7, 2024 · 0 comments
Assignees

Comments

@fsgeek
Copy link
Contributor

fsgeek commented Feb 7, 2024

While writing up Issue #47 it occurs to me that we are going to need to have some model, both for indexers and ingesters, to indicate if a record is new or an update.

The update case is harder, since we may not have the old data, in which case we'd need to fetch it from the database. This suggests that we may need a separate model for "update" versus "initial data insertion." Then again, the idea with bulk loading was that we had a lot of content - the "clean startup" situation. When updating it may be acceptable to just interact directly with the database.

I'll leave this issue so we can think about how this fits into the pipeline. The Indexer->Ingester flow still works with an update model given the way we've structured it (a message queue from the indexer to the ingester) and would be fine for smaller updates.

@fsgeek fsgeek self-assigned this Feb 7, 2024
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

No branches or pull requests

1 participant