Re:Google Doorman: Global Distributed Client Side Rate Limiting
by greenleafjacob on Sunday April 10, 2016 @08:11AM
(#11465842)
If you degrade by client or query class then in the case of just one class of query or one class of client you would have an unfair distribution, because one client could consume many resources and others would be limited to whatever's available on the margins.
I would like to see an adaptive system that, when resources are scarce, pushes towards a more equitable distribution.
Rate limiting is an inefficient way to distribute a service, that makes sense only if you preallocate your resources and have queries with predictable cost. Let's use this technique only as a bug-prevention tool not for resource economy, as organised scarcity is likely as inefficient for the data center as it is for the distribution of goods :)