←back to thread

770 points ta988 | 2 comments | | HN request time: 0.001s | source
Show context
joshdavham ◴[] No.42551384[source]
I deployed a small dockerized app on GCP a couple months ago and these bots ended up costing me a ton of money for the stupidest reason: https://github.com/streamlit/streamlit/issues/9673

I originally shared my app on Reddit and I believe that that’s what caused the crazy amount of bot traffic.

replies(1): >>42551774 #
jdndbsndn ◴[] No.42551774[source]
The linked issue talks about 1 req/s?

That seems really reasonable to me, how was this a problem for your application or caused significant cost?

replies(2): >>42551909 #>>42558804 #
1. acheong08 ◴[] No.42558804[source]
1 req/s being too much sounds crazy to me. A single VPS should be able to handle hundreds if not thousands of requests per second. For more compute intensive stuff I run them on a spare laptop and reverse proxy through tailscale to expose it
replies(1): >>42578561 #
2. lanstin ◴[] No.42578561[source]
Wow that really works? So cool. I should bring my VMs back in house. Spare laptops I have.