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

ensure that lix works with an inlang project with 250.000 variants #76

Open
samuelstroschein opened this issue Sep 11, 2024 — with Linear · 2 comments
Open

ensure that lix works with an inlang project with 250.000 variants #76

samuelstroschein opened this issue Sep 11, 2024 — with Linear · 2 comments

Comments

Copy link
Member

samuelstroschein commented Sep 11, 2024

Context

MESDK-137

  • 250k messages * 1 variant = 250k variants
  • initial load less than 10 seconds
  • in-app CRUD on messages takes less than 100ms

Proposal

test if lix can handle this. if not, evaluate if the optimization would require breaking changes in lix. if breaking changes are required, do them now. else, we can optimize lix in the future.

@samuelstroschein samuelstroschein changed the title ensure that lix works with a project with 200.000 messages ensure that lix works with an inlang project with 200.000 messages Sep 11, 2024
@samuelstroschein samuelstroschein changed the title ensure that lix works with an inlang project with 200.000 messages ensure that lix works with an inlang project with 250.000 messages Sep 11, 2024
@samuelstroschein samuelstroschein changed the title ensure that lix works with an inlang project with 250.000 messages ensure that lix works with an inlang project with 250.000 variants Sep 11, 2024
Copy link
Member Author

We need to add a test for changes too. Prob saying something along the lines of each entity has 10 (?) changes to test scalability of lix.

250k variants * 10 changes each = 2.5 million changes

Copy link
Member Author

if we save changes in lix directly, avoiding diffing, no performance issues should arise because it's… just sqlite. The differ is the expensive operation.

the inlang sdk can write directly to the lix database. No need to diff :)

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