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

Does partial updating requires to load all data? #121

Open
tleytens opened this issue Mar 17, 2021 · 1 comment
Open

Does partial updating requires to load all data? #121

tleytens opened this issue Mar 17, 2021 · 1 comment

Comments

@tleytens
Copy link

Hi

When testing the plugin I came to the following conclusion...

  1. after an update in Kentico Kontent the Gatsby build is triggered.
  2. Graphql loads all available content from Kentico Kontent.
  3. Gatsby performs a search to retrieve the matchFields of all available content in Algolia.
  4. Gatsby does local matching to see what nodes needs to be updated/deleted/created based on comparing both arrays.

My question... concerns.... Does this scale when you have a real high number of content?
Or am I missing something in my current implementation / insights?

Kind regards

@Haroenv
Copy link
Contributor

Haroenv commented Mar 17, 2021

No, when the objects would no longer fit in memory, that could be an issue, in which case it can be more interesting to sync the Algolia index directly to algolia without involving the Gatsby plugin

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

2 participants