Re:Using load shedding to survive a success disaster - CRE l...
by euyyn on Monday December 19, 2016 @07:02PM
(#13216157)
Is soft-shedding a good idea? You're still paying CPU time to come up with a response that is a 200, but probably won't fool the client or the user anyway. Without a signal that the server is having problems with load, the retries can be more aggressive.
[ Parent
| on HN ]
Re:Using load shedding to survive a success disaster - CRE l...
by dantiberian on Monday December 19, 2016 @08:43PM
(#13216639)
Imagine a Netflix type service which needed to calculate a bunch of different categories to show the user. If some of them are more expensive to compute than others, those categories could be dropped, while still returning an acceptable response to the user.
Re:Using load shedding to survive a success disaster - CRE l...
by drdrey on Tuesday December 20, 2016 @01:19PM
(#13222415)
It makes sense if CPU time is not your most constrained resource. For instance, you might use it to avoid doing expensive remote calls.
Re:Using load shedding to survive a success disaster - CRE l...
by toomuchtodo on Monday December 19, 2016 @07:34PM
(#13216333)
That soft response should be a 429, with the client performing exponential backoff.