ACDB  Log In
Search
Random
Light/Dark Theme
Site Map
SMASH or PASS

Welcome to Anime Characters Database

The visual search engine for animated characters. We index characters by eye color, hair color, hair length, age, gender, and animal ears.

Characters 86 this month
Titles 1 this month
Members 70 this month
Quotes
Voice Actors 3 this month

News | Aug 31, 2024 | ACDB, Bots, Performance

One down side of adding additional translations to the site is: web spiders, bots, and crawlers end up having index entire copies of the site. This has been pushing daily page requests near 3,000,000. while Google Analytics reported requests have remained around 100,000.

This works out to for every 1 request by a member, there are 30 requests by bots.

Our web server Nginx allows for rate limiting either at an IP level or a server level.

ACDB makes a lot of use of redirects so I can't really rate limit people to 1r/s without

1) Breaking the lounge
2) Making redirects take 2 seconds for the page to respond

I also can't give members more than 3r/s without risking race conditions.

This left me wanting a solution where I could have more generous rate limits for members and stricter rate limits for everyone else.

Unfortunately Nginx has some serious hatred problems for simple conditionals. They live under a mantra of "IfIsEvil".

Luckily, the world of programing is one where if you have a will, there is always a way.

Pushing aside useless AI summaries, I eventually landed on https://nginx.nginx.narkive.com/tRRv3Xv8/limit-req-inside-a-if-block-not-allowed

While this page's solution made use of a user agent check; that conditional could easily be replaced with a cookie test. A few tweaks later, the setup is live on ACDB. Members will enjoy a fast and responsive site as it should be while the bots will be limited to an amount of requests that shouldn't gum up the site again for a while.

--
Rei

Spy vs Spy

Murdered!
Gregory Wolf was Murdered! for computer crimes by Anonymous

12:17 pm
Arrested!
Kirame Hanada was Arrested! for homicide by Anonymous

09:04 am
Assassinated!
Mana Itosu was Assassinated! for counterfeiting by Anonymous

07:06 am
Assassinated!
Herman Bomont was Assassinated! for arson by Anonymous

01:32 am
Murdered!
Madoka was Murdered! for counterfeiting by Anonymous

Yesterday 07:16 pm

Happy Birthday To

Games

Kawaii or NOT and Smash or Pass are quite popular! Or test your knowledge witch Series Quizzes.

Family Tree

Latest Family Tree Relations

Echidna
vivaldin spent time with their Waifu

1 hour(s) 6 minute(s) 30 second(s) ago


Rem
vivaldin spent time with their Waifu

1 hour(s) 6 minute(s) 30 second(s) ago


Rem
vivaldin spent time with their Waifu

1 hour(s) 6 minute(s) 30 second(s) ago


Stella Vermillion
vivaldin spent time with their Waifu

1 hour(s) 6 minute(s) 30 second(s) ago


Albedo
vivaldin spent time with their Waifu

1 hour(s) 6 minute(s) 30 second(s) ago


Quick Links for members.

Logs

Yesterday 11:19 am NatsumiSawada added an image Yesterday 11:18 am NatsumiSawada added an image Yesterday 08:51 am Demon010 modified a character Yesterday 04:13 am RamRol97 added an extra detail Yesterday 04:13 am RamRol97 added an extra detail Yesterday 04:13 am RamRol97 added an extra detail Yesterday 04:12 am RamRol97 modified a title Sep 5, 2024 RinaK new character Alice Okanega Sep 5, 2024 RinaK uploaded a character Sep 5, 2024 RinaK new character Yuusuke Nanpa Sep 5, 2024 RinaK uploaded a character Sep 5, 2024 RinaK new character Mami Kirara Sep 5, 2024 RinaK uploaded a character Sep 5, 2024 RinaK modified a title Sep 5, 2024 RinaK modified a title Sep 5, 2024 RinaK modified a title Sep 5, 2024 RinaK modified a title Sep 5, 2024 RinaK modified a title Sep 5, 2024 RinaK modified a title Sep 5, 2024 RinaK modified a title Sep 5, 2024 RinaK modified a title Sep 5, 2024 RinaK modified a title Sep 5, 2024 RinaK modified a title Sep 5, 2024 plipplop modified a character Sep 4, 2024 freakbob added a relation Sep 4, 2024 freakbob added a relation Sep 4, 2024 Rei modified a title Sep 4, 2024 1melco modified a character Sep 4, 2024 1melco modified a character Sep 4, 2024 Moon_Moon modified a title

Go Top

Anime Characters Database Logo Links

Contribute

This site uses cookies for analytics, personalized content and ads. By continuing to browse this site, you agree to this use. Learn more [close]

Who Board | New Thread

08:36 am
Anonymous
Who is this?

Latest Comments


Accelerator

thats..... The longest profile I ever saw on this website! - ilikememes0

Quotes

If you won't heed my order,
I shall take her from you by force.
- Aultcray Melromarc XXXII

There's no need to listen
to the words of scum.
- Aultcray Melromarc XXXII

Spear Hero, - Aultcray Melromarc XXXII

Buy Me a Coffee at ko-fi.com

Increase your fun by becoming a member today! Login | Register

10 fun things to do on ACDB

Advertise - Share - Mascot - Contact - Discord - API - Wiki - Site Map - Change Log - Twitter - Instagram - Privacy Policy - Rules
All images are copyright of their respective owners. Copyright © Goral Software

Rendered in 154.5 ms. R-27-W-1-M-3177.74 KB