Get the latest tech news

Visualizing algorithms for rate limiting


Smudge.ai is a Chrome extension that gives you ChatGPT-powered shortcuts in your right-click menu.

For instance, rate limiting a login form can deter brute force attacks while still allowing a small burst of incorrect guesses. A popular option is to save rate limiting data to a key-value store like Redis, which has built-in functions for expiring keys, on a separate machine from your application. If your server’s connection to the persisted store fails, make sure to allow all requests rather than blocking access to your service altogether.

Get the Android app

Or read this on Hacker News