DE version is available. Content is displayed in original English for accuracy.
Advertisement
Advertisement
⚡ Community Insights
Discussion Sentiment
94% Positive
Analyzed from 439 words in the discussion.
Trending Topics
#best#request#send#priority#load#twice#should#tail#cost#requests

Discussion (13 Comments)Read Original on HackerNews
Google calls this a 'hedged request': https://cacm.acm.org/research/the-tail-at-scale/
I would send a second request if the first request fails to return the first token within, say, 1 second. Then there's a chance the first request is stalling, which is an infrequent event.
I wonder if higher-availability tiers of LLM providers do a similar thing internally.
It's a bit unintuitive, but they key idea is roughly 'If you're working on stale load data (as always), best of 2 strikes the right balance between distributing load evenly and giving more work to less loaded hosts'. If you do 'best of k', you end up with herd behavior, overloading one host. 'best of 1' sends too much traffic to slow hosts.
e.g. 1.40m would become 0.30s.
do people really pay for these priority plans?