Patra3 / AzurViewer

Web app for Azur Lane
5 stars 0 forks source link

The “app” hotlinks images from the wiki #10

Closed Yuubari closed 5 years ago

Yuubari commented 5 years ago

As described.

Are you sure you thought this through well? Would you love it if someone wrote an “app” that does 600 requests to your server per second and essentially takes your bandwidth for free?

Why are you not hosting the images yourself?

-- Yuubari, Azur Lane Wiki hostmaster

Patra3 commented 5 years ago

Apologies, I will address this as soon as possible. I didn't think many people would use the app to cause notable bandwidth usage, but thank you for the notice.

Yuubari commented 5 years ago

It is not exactly a problem with bandwidth, but rather the approach. I would probably not have noticed this if it followed browser connection queue defaults. It took all of the available PHP processes when normally there are 95+ spares, resulting in regular users getting service unavailable errors.