danswer-ai / danswer

Gen-AI Chat for Teams - Think ChatGPT if it had access to your team's unique knowledge.
https://danswer.ai
Other
10.83k stars 1.37k forks source link

Optimize `save_load_state.py` for Performance and Efficiency Improvements #2806

Open Mefisto04 opened 1 month ago

Mefisto04 commented 1 month ago

Issue Description:
The current implementation of save_load_state.py in danswer/backend/scripts can be improved for better performance and efficiency. Below are three key areas that need optimization:

1. Postgres Snapshot Handling:

2. Vespa Snapshot Handling:

3. Multi-threading for Vespa Operations:

Please assign me this issue so that I can start working on it.

Mefisto04 commented 1 month ago

hey @pablodanswer, please review this and assign me this issue