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

How would electric handle cases with large amounts of data and lazy loading? #1993

Open
nodkrot opened this issue Nov 19, 2024 · 2 comments
Open

Comments

@nodkrot
Copy link

nodkrot commented Nov 19, 2024

For example if im building a large kanban board? At which point will client suffer? What strategies are there for these scenarios?

@thruflo
Copy link
Contributor

thruflo commented Nov 19, 2024

See electric-sql/pglite#393 for an example of a project management app with a lot of data. Electric will handle syncing GBs of data no problem. You need to look at what you sync into and then there are a lot of different optimisation techniques in the client, depending on how you need to query the data. The example I link to uses a windowed query optimisation to make the reactivity fast.

@nodkrot
Copy link
Author

nodkrot commented Nov 21, 2024

Thank you for getting back, will check it out. Simple question I have is how can electric sync engine store gigabytes of data on the client to keep things in sync (I would imagine browsers have limits)? If you can point me to resources that explain this I would greatly appreciate it!

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