~/talk

Approaches to application request throttling

slides:none on file

Experience from MyGet.org shows simple DB logging (user/action/timestamp) works but the DB becomes the bottleneck; a prototype enforces 5 requests per 5 seconds and returns HTTP 429 Too Many Requests. Better options use counters: Redis sorted sets for timestamp lists, leaky/quantized bucket algorithms, or middleware/action filters (mvc throttle) to block early. At the edge use Nginx (example 2 req/s with bursts to 5) or cloud gateways like Azure API Management to enforce per-key limits, log hits, and offer paid exceptions.

AI-written summary · about

  1. 0:00Start
  2. 0:49Users and Traffic Patterns
  3. 3:13Too Many Downloads
  4. 5:38Rate Limiting
  5. 6:06Bandwidth Throttling
  6. 9:04Rate Limit Attribute
  7. 13:55Quantized Buckets
  8. 14:55Downsides to Quantized Buckets
  9. 16:10Leaky Buckets
  10. 18:02Adding Items to a Sorted Set in Redis
  11. 24:42Exceptions
  12. 25:13Web Crawlers
  13. 31:25Additional Endpoint Rules
  14. 37:09Reverse Proxy
  15. 37:54Configure Nginx
  16. 41:02Identifiers
  17. 43:58Api Management
  18. 46:12Define Policies
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.