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 152 this month
Titles 7 this month
Members 154 this month
Quotes 321 this month
Voice Actors 15 this month

Latest Up Voted Quotes

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!
Kikkou Sadamune was Murdered! for indecent exposure by Anonymous

05:29 am
Arrested!
Weiszenmina von Waldeck was Arrested! for indecent exposure by Anonymous

05:27 am
Arrested!
Hanying Lou was Arrested! for indecent exposure by Pipotoast

Yesterday 10:31 pm
Arrested!
Ai Suzuki was Arrested! for treason by Pipotoast

Yesterday 10:30 pm
Arrested!
Arisu Minakata was Arrested! for counterfeiting by Pipotoast

Yesterday 10:29 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

Madoka Ayukawa
Nori13 spent time with their Waifu

51 minute(s) 42 second(s) ago


Soushi Miketsukami
Nori13 spent time with their Husbando

51 minute(s) 42 second(s) ago


Himawari Kunogi
Nori13 spent time with their Waifu

51 minute(s) 42 second(s) ago


Klein Sandman
Nori13 spent time with their Husbando

51 minute(s) 42 second(s) ago


Lafarga
Nori13 spent time with their Husbando

51 minute(s) 42 second(s) ago


Quick Links for members.

Logs

Yesterday 10:27 pm Juan_Elric added an extra detail Yesterday 10:26 pm Juan_Elric added an extra detail Yesterday 10:10 pm RamRol97 added an image Yesterday 09:27 pm Juan_Elric uploaded a character Yesterday 09:24 pm Juan_Elric uploaded a character Yesterday 06:39 pm RinaK added an image Yesterday 06:38 pm RinaK added an image Yesterday 04:47 pm plipplop added an extra detail Yesterday 04:47 pm plipplop added an extra detail Yesterday 01:38 pm Juan_Elric added an image Yesterday 01:12 pm NatsumiSawada modified a character Yesterday 01:11 pm NatsumiSawada modified a character Yesterday 01:11 pm NatsumiSawada new character Novak Yesterday 01:11 pm NatsumiSawada uploaded a character Yesterday 01:11 pm NatsumiSawada new character Hubert Yesterday 01:11 pm NatsumiSawada uploaded a character Yesterday 01:07 pm NatsumiSawada added an image Yesterday 01:02 pm NatsumiSawada modified a title Yesterday 01:01 pm NatsumiSawada modified a title Yesterday 01:01 pm NatsumiSawada modified a title Yesterday 01:00 pm NatsumiSawada modified a title Yesterday 12:55 pm NatsumiSawada modified a character Yesterday 12:55 pm NatsumiSawada modified a character Yesterday 12:55 pm NatsumiSawada modified a character Yesterday 12:54 pm NatsumiSawada modified a character Yesterday 12:54 pm NatsumiSawada new character Seiko Ayase Yesterday 12:54 pm NatsumiSawada uploaded a character Yesterday 12:54 pm NatsumiSawada new character Jin Enjouji Yesterday 12:54 pm NatsumiSawada uploaded a character Yesterday 12:54 pm NatsumiSawada new character Aira Shiratori

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

02:09 am
Anonymous
Who is this?

Latest Comments


Ilulu

What is her height? - Anonymous

Quotes

It's name is "Casetta Dell'orso," which means "The bears' small home". - Nicoletta

I really do want to learn how to cook. - Nicoletta

I wonder if that's another one of her fancies? - Nicoletta

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