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 127 this month
Titles 7 this month
Members 112 this month
Quotes
Voice Actors 13 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

Anzu Futaba
romhackd spent time with their Niece

54 minute(s) 6 second(s) ago


Ryouji Kaji
romhackd spent time with their Husbando

54 minute(s) 6 second(s) ago


Anzu Yukimura
romhackd spent time with their Daughter

54 minute(s) 6 second(s) ago


Asa Mitaka
trygod spent time with their Waifu

1 hour(s) 20 minute(s) 31 second(s) ago


Seina
trygod spent time with their Other

1 hour(s) 20 minute(s) 31 second(s) ago


Quick Links for members.

Logs

02:06 pm RinaK modified a character 01:43 pm RinaK added an extra detail 01:40 pm RinaK added an image 01:39 pm RinaK added an image 01:39 pm RinaK added an image 01:37 pm RinaK added an image 01:34 pm RinaK added an image 01:34 pm RinaK added an image 01:32 pm RinaK modified a title 01:31 pm RinaK added an extra detail 01:27 pm RinaK modified a title 01:17 pm RinaK added an image 01:17 pm RinaK added an image 01:16 pm RinaK added an image 01:14 pm RinaK added an image 01:14 pm RinaK added an image 01:14 pm RinaK added an image 01:13 pm RinaK added an image 01:13 pm RinaK added an image 01:13 pm RinaK added an image 01:12 pm RinaK added an image 01:11 pm RinaK added an image 01:11 pm RinaK added an image 01:11 pm RinaK added an image 01:08 pm RinaK new character Shino Sakunaga 01:08 pm RinaK uploaded a character 01:07 pm RinaK new character Sumika Yatsushika 01:07 pm RinaK uploaded a character 01:05 pm RinaK new character Shiho Nanakubo 01:05 pm RinaK uploaded a character

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:21 pm
Anonymous
Who is this?

Latest Comments


Hanta Sero

I love him - Anonymous

Quotes

I've heard of it... - Sven Vollfied

Hiya, Annette... - Sven Vollfied

Have some candy
and behave yourselves, boys.
- Sven Vollfied

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