Streaming responses and cache write-behind — when does the cache entry become available? #74
Unanswered
emgeisler2
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Following up on the streaming + cache interaction. I confirmed that LLMix does cache streaming responses after the stream completes. But I have a timing question.
In this scenario:
Does request B:
If it's (b) or (c), we're paying for duplicate tokens during the streaming window. For long responses (4K+ tokens), that's a significant cost multiplier under concurrent load.
Our P95 streaming response takes 8 seconds. During that window, we often get 5-10 identical requests. Understanding this interaction is critical for our cost model.
All reactions