My code was slightly conservatively stopping one redirect before the limit, updated to stop at the limit and we're hitting 116QPS
4
Replies
0
Boosts
Worth remembering that this whole thing is the stock Crystal HTTP server (sitting behind Caddy) running on a server that costs $20 per *year*
Admittedly it's not doing anything interesting with these requests, but it still has to terminate TLS, parse the request headers, etc.
Experimenting with larger responses, almost getting to 1MB/s
Fixed URL handling for redirects to keep the extension, so the final result file type is the same as the original request (after the redirects) and sending 1000x700px images seems to be enough data to make a difference
Alright, party's over. In the last like 2 days I've sent over 1TB of rubbish and I'm about to hit my annual bandwidth cap.
2 media files