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

Switch local store stuff to SQLite use #571

Open
vladimiry opened this issue Nov 16, 2022 · 2 comments
Open

Switch local store stuff to SQLite use #571

vladimiry opened this issue Nov 16, 2022 · 2 comments
Labels

Comments

@vladimiry
Copy link
Owner

vladimiry commented Nov 16, 2022

This would enable improved scalability/performance/memory-use, dropping some custom code, etc. The drawback is that some metadata of local store will be open/unencrypted, like for example the number of emails/rows (vs current blob-like store). I'm personally fine with the current implementation, but it doesn't shine brightly for the large local stores (~20k+ emails).

This change would also benefit/unlock the calendar events syncing.

@evilsh3ll
Copy link

is there any approssimative ETA for this improvement? thanks🙏

@vladimiry
Copy link
Owner Author

vladimiry commented Jul 10, 2023

No ETA and no guarantee in general that it gets completed. The task is clear, but time-consuming and sort of dull-work one.

I was thinking using Prisma ORM for SQLite wrapping. But my understanding is that programmatically triggered migration and multi-language full-text support is not perfect there yet. Nevertheless, I believe it's good enough for the task.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants