Python vs JS Token Bucket: Bot Storm Shield
Burst control that keeps your launch alive.
#python #javascript #tokenbucket #ratelimiting #botprotection #launchday #viralcoding #codecomparison #performance

Python vs JS Token Bucket: Bot Storm Shield
Burst control that keeps your launch alive.
#python #javascript #tokenbucket #ratelimiting #botprotection #launchday #viralcoding #codecomparison #performance

Password Reset Email Throttle
Limit resets to stop inbox flooding and abuse.
#php #python #passwordreset #email #ratelimiting #abuse #security #backendsafety #reliability #viralcoding

#Development #Challenges
Webspace invaders · Let’s level up our anti-AI scraping game! https://ilo.im/16ahl8
_____
#AI #Crawlers #RobotsTxt #RateLimiting #WAFs #Cloudflare #IndieWeb #WebDev #Frontend #Backend

There’s something happening on the Web at the moment that almost feels like watching that old arcade game Space Invaders play out across our servers. Bots and scrapers marching in formation, attacking our servers wave after wave, systematically requesting page after page, relentlessly filling their data stores while we watch our access logs fill up.
Одно кольцо, чтобы повелевать остальными: собираем лимитирование, ретраи и circuit breaker в одной библиотеке
Я чувстовал себя клоуном подключая 5ю библиотеку для написания устойчивого к ошибкам API клиента. После этого я написал библиотеку объединяющую все воедино. Мотивация и история архитектурных решений.
https://habr.com/ru/articles/992902/
#отказоустойчивость #отказоустойчивые_решения #отказоустойчивые_системы #отказоустойчивая_архитектура #python #ratelimiting #retry #pypi

Я чувстовал себя клоуном подключая 5ю библиотеку для написания устойчивого к ошибкам API клиента. После этого я написал библиотеку объединяющую все воедино. Мотивация и история архитектурных решений....
Token Bucket Rate Limit
Smooth bursts without letting bots flood your API.
#php #python #ratelimiting #tokenbucket #api #botdefense #performance #reliability #backendsafety #viralcoding

#RateLimiting issues on #mastodon #servers
As it becomes more popular, these are going to be experienced by more users. We just revealed one in the linked thread.
Here's another, and a work-around - large media files in posts. If I go to a post from an instance I dont often visit, images etc may be missing. Not a lot happens for several minutes, even if I repeatedly attempt to load the image.
#workaround [right-] click-hold on the image etc and choose open in new browser tab, it loads instantly, with the url being to the post's host site [without all the rest of the site you get if you use [...]>"open original page"
https://climatejustice.social/@wavesculptor/115872885582390334
[ edit - cc mention @MastodonEngineering
]
Live Chat Spam Lockdown in 60 Seconds
Sliding window rate limit that saves your live event.
#python #php #ratelimiting #livechat #spamprotection #slidingwindow #viralcoding #codecomparison #realtime #developertips #performance

Class Variable Shared Between ALL Instances Breaking Rate Limits?!
CLASS VARIABLE DISASTER! All instances share SAME list! User A's requests counted in User B's limit! 470K users randomly blocked! $2.3M lost API revenue! Rate limiter architect FIRED!
#python #pythondisaster #classvariable #sharedstate #ratelimiting #productionbug #pythonshorts #pythonwtf #instanceconfusion #careerending #apithrottling #oop

CEO một SaaS bất ngờ "tự DDoS" người dùng do lỗi code! Khi Redis gián đoạn, hệ thống trả về 429 cho mọi yêu cầu. Lỗi đến từ việc return false khi Redis down. Cách sửa: return true để giữ luồng traffic. Bài học: Ưu tiên "fail open" với rate limiting, luôn lường trước rủi ro hệ thống. #SaaS #DevOps #RateLimiting #FailOpen #HeThong #LamViecNhóm
https://www.reddit.com/r/SaaS/comments/1pv0z0d/i_accidentally_ddosd_my_own_users_a_saas_horror/