![]() |
Quote:
D. |
1 Attachment(s)
Based on this screen capture from today.... would you recommend I add anything additional to my list in the mod?
D. |
Quote:
|
Was averaging about 400 Baidu bots a day still getting through before this last update. Now after 24 hours I'm seeing zero. Thanks!
|
Excellent, glad to hear it is stopping them for you. :)
|
Quote:
Quote:
|
I'm working on a way to log all the blocked bots. Not sure if it will record every instance or just a total number for each bot. Will share my findings when I'm done.
|
Say what? This is already recording the blocked bots. In four different possible ways, in a log file, in a thread, in a email and the bots blocked count.
Now writing each bot individually to the DB, is not a good idea, as the table would grow too big, and be a giant PITA when you query it to get the info. Think about it, in just five days, only blocking baidu, I have a count of 9062. Now lets take that and round it to 10,000 for seven days. Lets say I am going to block the 281 bots I have in my list. 281 x 10,000 x 52 = 146,120,000 entries a year. :eek: Sure each bot is not going to hit me 10,000 times a week, but you can see, this can really grow fast. ;) And my site is not that busy, now imaginge on a busy site, the entries to the table in the DB could be 250,000,000 plus a year. Now run a query to retrieve the info from that table, and it would hurt the site every time it is ran. :mad: IMO, the best way to go is how it is now, just increase the count every time a bot is blocked, and get that number and display it. :) |
Yep, you'd have to list every bot in the database then increment it's count every time you block it, that would be the easier way but your actually talking about constantly querying the database with redas and writes - definitely not a good idea, save your resources for your members.
|
Yes, I know Simon, I thought about doing it that way also, but the payoff, is not worth the trouble. It would bloat the mod, and become a resource hog in no time. :)
|
All times are GMT. The time now is 06:35 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|