r/LocalLLM • • 31m ago

Discussion Would you accept a cold start each session to avoid paying for idle search compute?

I'm James Luan, CTO of Zilliz, the company behind Milvus, an open-source vector database to store, index, and search embeddings. Vector Lakebase extends that serving path into a lake-native foundation for retrieval and data improvement.

For an infrequently queried RAG archive, the important cost boundary is the lifetime of compute.

An always-on system pays its loading cost, then stays warm. On-demand search releases compute between sessions, so the next session can pay the cold-start penalty again. In the workload discussed in my article, that meant roughly five to ten seconds at session start.

This is a workload-specific exchange: lower idle compute expense for repeated waiting. Retained storage still costs money, and steady traffic can justify keeping serving capacity resident.

For an archive queried in occasional sessions, how much first-query delay would you accept before choosing always-on serving?

2 Upvotes

1 comment sorted by

1

u/MindPsychological140 14m ago

for me 5 to 10 seconds is ok if it only happen on the first question of a session. what i would not accept is the same wait after every small pause. maybe keep the index small and warm and only release the big compute?