Menu

1 / 4

40,000 Bot Requests a Minute. One Slow Login. Here’s the Fix.

JavaScript in Plain English - Medium·Akibul Islam·12 days ago
#JV0KCpWk
Reading 0:00
15s threshold

Member-only story

40,000 Bot Requests a Minute. One Slow Login. Here’s the Fix.

Akibul Islam

4 min read6 days ago

A simple, layered guide to stopping bots, scrapers, and login attacks without slowing down the people who matter.

Press enter or click to view image in full size

Picture this. A real user opens your app and taps “Log in.” Nothing happens. Five seconds. Ten seconds. Then an error.

Your server isn’t broken. It’s busy. Busy answering 30,000 to 40,000 requests a minute from bots.

In the AI era, this problem has become much bigger. Bots are cheap to run, easy to write, and smarter than before. Some scrape your data. Some try thousands of passwords. Some just hammer your API until it slows down.

Here’s how I think about solving it, in simple layers.

Why Login Gets Slow First

Login is usually the first thing to break, and there’s a reason.

When someone logs in, your server checks the password using a hashing function like bcrypt . Bcrypt is slow on purpose.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.