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.54k stars 1.31k forks source link

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

Open Mefisto04 opened 2 weeks ago

Mefisto04 commented 2 weeks 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 week ago

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