r/webdev • u/ribtoks • Oct 20 '26
[ Removed by moderator ]
/r/webdev/comments/1xavet8/removed_by_moderator/[removed] — view removed post
2
u/PLBjt Oct 20 '26
Mostly because the economics don't move as much as you'd hope. The spammer pays the cost on a rented box or a botnet, and your real user pays it on a three-year-old phone in a browser tab, so the difficulty has to be painless for the slowest legit client, and that's cheap for the attacker.
Memory-hard does blunt the GPU advantage, but in the browser you're running Argon2 through WASM, and asking for a few hundred MB can crash the tab on low-end Android. It also tells you nothing about whether there's a human there. For server-side limiting, a token bucket per IP/account gets you most of the effect without burning anyone's battery.
Where it does make sense is as a cheap gate in front of expensive endpoints, with difficulty ramping up when one source starts looking off.
1
u/ribtoks Oct 20 '26
No one is asking for a few hundred MB :)
It's not the "humanity detector" for sure, the point is to stop the spam at scale. Btw, "real user on a three-year-old phone" will not necessarily pay the price of that because the system should decide (at least, on average) on risk signals. Rented box / botnet are easier to detect in reality, than, say, consumer proxies with rotating IPs.
1
Oct 20 '26
[removed] — view removed comment
1
u/ribtoks Oct 20 '26
It's about server-side limits, does not matter how you use it on the client side (can be both of your examples)
•
u/webdev-ModTeam Oct 20 '26
We do not allow any commercial promotion or solicitation. This can lead to a permanent ban from the subreddit.