4 ms·
Hey I made this!! Happy to see it getting attention. Feel free to ask me anything!
by clayloam 4y ago
Hey I made this!! Happy to see it getting attention. Feel free to ask me anything!
- PaoloBarbolini 4y agoWhy are you doing a separate request for every /8? I feel like this would be the first thing that would kill the site, if it weren't for the fact you're on HTTP, the browser is talking HTTP/1.1, so it only does 6 concurrent requests per domain.
- clayloam 4y agoI wanted to see if the server could handle being slammed with requests like that :) but yeah collapsing it into one request would be a lot better. I’ll probably do that soon
- jart 4y agoIn case anyone's wondering, I wrote the web server clayloam is using. It's called redbean. It started off as just my own hobby project last year, here on Hacker News, but it grew into something more and lots of people loved it enough to help. So it's very exciting to see it being used in production to handle hundreds of http messages per second. https://redbean.dev https://redbean.dev
- jart 4y agoIf you want to monitor how well the server holds up to the hug of death, check out its http://ipv4.games/statusz http://ipv4.games/statusz page. For example, you could poll that and calculate (or chart) how many messages per second it's handling.
- mike_d 4y agoThis is really awesome. Finally a game I am good at.