Y
Hacker News
new
|
ask
|
show
|
jobs
by
AdamTReineke
837 days ago
Make sure you know the cost to serve that 2MB MP3, especially if you're go viral.
1 comments
wernah
837 days ago
I quickly learned to set up AWS billing alerts, is there anything else I should keep an eye on?
link
7moritz7
837 days ago
There doesn't seem to be a ratelimit on your most expensive ressource, the mp3 files on AWS. I checked with cURL, you can do the same. For this web app you should ratelimit the ressource aggressively because of how the game works.
link
wernah
837 days ago
Thanks for this! I'm gonna check this out
link
654wak654
837 days ago
You can also consider moving to Cloudflare R2 for hosting media [1]. Egress traffic is probably going to be your biggest cost in S3.
[1]:
https://developers.cloudflare.com/r2/
link