Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
fuzzmeister
· 17y ago · 0 comments
You could just throw recent login attempts into a table, but that might get big quickly.
Comments
[–]
catch23
17y ago
why even bother logging that? just store it in memory someone. have a counting bloom filter remember the set of IPs that tried to login during the last 10 seconds. If your ip is in that set, delay the user by 10 seconds or so...
[–]
amix
17y ago
memcached is great for these kind of things.
[–]
shaunxcode
17y ago
and thus could also be archived/truncated frequently as it is only relevant within a certain time frame right?
[–]
liuliu
17y ago
or memcachedb, or just use mollom.com
[–]
aniketh
17y ago
didn't realize an alternative to akismet existed... quick question : how come mollom says 78% of comments are spam, but akismet says 85%?