TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Adaptive rate limiting is a game-changer

48 pointsby KaranSohialmost 2 years ago

9 comments

ComputerGurualmost 2 years ago
It was really quite the let down of an article. All that build up, then basically nothing about <i>how</i> adaptive rate limiting would be implemented in practice, how expensive it would be, what it requires, the challenges it involves, etc.
评论 #36828449 未加载
评论 #36828476 未加载
评论 #36829820 未加载
评论 #36844766 未加载
评论 #36828266 未加载
jokoonalmost 2 years ago
No surprise that it&#x27;s not already implemented because we just throw more cheap hosting and bandwidth at this problem until it&#x27;s fixed.<p>The &quot;premature optimization is the root of all evil&quot; misquote really caused a lot of damage to favor growth and profit making instead of better software. It seems programmers have a general habit of just implementing things in the most naive and cheap way and just solve any problem with expensive hardware.<p>We really need a new trend of fast and minimal software because climate change and a finite planet will not allow us to follow Wirth&#x27;s law for very long.
评论 #36828436 未加载
评论 #36828974 未加载
michaelcampbellalmost 2 years ago
Not sure it &quot;changed my game&quot; but I have a process that I run on many files at once. In a *nix I would run the processes like so:<p><pre><code> for i in list_of_files; do run_intensive_process &amp; sleep $(awk &#x27;{print $3}&#x27; &lt; &#x2F;proc&#x2F;loadavg) done </code></pre> As more processes start upping my load average, it sleeps longer before running each one in the background. I guess GNU parallel can do this sort of thing with a load-sensitive command line arg, but I find this pattern easy to remember, and parallel&#x27;s decidedly not.<p>Works for me.
评论 #36829312 未加载
评论 #36843615 未加载
TekMolalmost 2 years ago
I don&#x27;t believe that Twitter has to limit requests to avoid bots.<p>They would just have to limit requests by IP and thats it. Say 10 tweets per IP per day. For requests which do not come from logged in users.<p>I can&#x27;t see how scrapers would be able to come up with enough IPs to make a dent in Twitters costs.
评论 #36828375 未加载
评论 #36828606 未加载
评论 #36828127 未加载
评论 #36828260 未加载
mgaunardalmost 2 years ago
As a user, I paid for a bandwidth and I want that bandwidth.<p>The rest is the service provider&#x27;s problem.
thih9almost 2 years ago
I feel this has potential to bring new levels of painful ux.<p>&gt; They might prioritize serving the VIPs and slow down the pace when there is an influx of newcomers.<p>Or they might prioritize people who are about to convert and deprioritize them once they pay.
mjbalmost 2 years ago
The biggest problem with adaptive rate limiting is that, in many contexts, clients value predictability more than they do peak performance. Adaptive rate limits change client behavior in ways that clients can&#x27;t predict or control.<p>Even in networking, the classic application domain of adaptive rate limits (like TCP&#x27;s algorithms), core networks are built to offer predictable performance. Edge networks, like public WiFi, that offers best-effort performance with adaptive rate limits, are often met with frustration and even anger the moment those limits kick in.
twicalmost 2 years ago
Easy enough to implement on top of a token bucket filter - just adjust the rate at which tokens are added.
Dweditalmost 2 years ago
Article is broken if you have JS from cloudfront denied.
评论 #36828589 未加载