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 119 this month
Titles 5 this month
Members 108 this month
Quotes
Voice Actors 9 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

Assassinated!
Ally Connolly was Assassinated! for indecent exposure by Anonymous

Sep 10, 2024
Arrested!
Nanase Kai was Arrested! for kidnapping by Anonymous

Sep 10, 2024
Murdered!
Reiya Inou was Murdered! for terrorism by Anonymous

Sep 10, 2024
Arrested!
Azamiko Kutsuka was Arrested! for treason by Anonymous

Sep 10, 2024
Arrested!
Pierre Vieira was Arrested! for money laundering by Anonymous

Sep 10, 2024

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

Nanae Kokonoe
banksy spent time with their Waifu

10 minute(s) 27 second(s) ago


Ayane
banksy spent time with their Waifu

10 minute(s) 27 second(s) ago


Yuri Tamura
banksy spent time with their Imouto

10 minute(s) 27 second(s) ago


Kafuru
banksy spent time with their Imouto

10 minute(s) 27 second(s) ago


Galko-nee
banksy spent time with their Waifu

10 minute(s) 27 second(s) ago


Quick Links for members.

Logs

12:28 am NgKQ added an extra detail Yesterday 11:20 pm SPRIGHTLYMAIDEN added a relation Yesterday 11:19 pm SPRIGHTLYMAIDEN added a relation Yesterday 11:18 pm SPRIGHTLYMAIDEN modified a character Yesterday 09:15 pm SPRIGHTLYMAIDEN modified a character Yesterday 06:30 pm Juan_Elric modified a character Yesterday 06:29 pm Juan_Elric modified a character Yesterday 05:20 pm Juan_Elric modified a character Yesterday 05:07 pm RinaK new character Mio Yesterday 05:05 pm RinaK new character Hablog Yesterday 05:03 pm RinaK new character Luxembourg Yesterday 04:20 pm Juan_Elric modified a character Yesterday 04:20 pm Juan_Elric modified a character Yesterday 03:49 pm jwkmdaxr3p uploaded a character Yesterday 03:48 pm jwkmdaxr3p uploaded a character Yesterday 03:48 pm jwkmdaxr3p uploaded a character Yesterday 03:48 pm jwkmdaxr3p uploaded a character Yesterday 03:47 pm jwkmdaxr3p uploaded a character Yesterday 02:33 pm Juan_Elric uploaded a character Yesterday 02:14 pm Juan_Elric uploaded a character Yesterday 08:01 am plipplop uploaded a character Yesterday 07:52 am plipplop added a relation Yesterday 03:01 am SPRIGHTLYMAIDEN added an image Yesterday 03:00 am SPRIGHTLYMAIDEN added an image Yesterday 02:59 am SPRIGHTLYMAIDEN added an image Yesterday 02:58 am SPRIGHTLYMAIDEN added an image Yesterday 02:54 am SPRIGHTLYMAIDEN modified a character Sep 10, 2024 SPRIGHTLYMAIDEN added a relation Sep 10, 2024 SPRIGHTLYMAIDEN added a relation Sep 10, 2024 SPRIGHTLYMAIDEN added a relation

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

01:23 am
Anonymous
Who is this?

Latest Comments


Aniya Jung

It is correct :≻ Her weight is actually that much. - NatsumiSawada

Quotes

Okay! - Viola

Yes, please! - Viola

Well, it is still a seedling. - Viola

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 356.9 ms. R-27-W-1-M-3177.74 KB