5 ms·
It's amazing that posting this on HN has not melted it down. Are you using an edge CDN like Cloudflare to provide caching?
by hannofcart 6y ago
It's amazing that posting this on HN has not melted it down. Are you using an edge CDN like Cloudflare to provide caching?
- dtx1 6y agoSry, not my blog just thought it's interesting
- ev1 6y agoIt's a static file being served, 32MB RAM nginx instance can handle well past HN traffic for something like that
- ce4 6y agoAccording to a Maxmind Geoip lookup, both ip4/ip6 belong to Telia Eesti ISP, so probably no CDN caching.
- ekianjo 6y agoif it's pure static you can easily server thousands and thousands of request per second no problem.
- vbezhenar 6y agoThis website returns 40.5 kB from nns.ee host (with CSS and SVG). 1000 users per second requires 40.5 MB/s or 324 Mb/s connection. Author mentioned that his device provides 10 Mb/s throughput. So realistic number is serving 30 users per second. For some reason his main.css is not compressed, so that would be the first thing to optimize.
- austinjp 6y agoPerhaps I'm not being very generous, but I'm often kinda surprised when sites do meltdown from the HN effect -- although I recognise it depends on a lot of factors.
- indymike 6y agoSeems like a lot of times the meltdown is just conservative rate limits on linux shared hosting. It's too bad because a lot of times it happens to sites that are getting their first substantial exposure.
- tyingq 6y agoIt usually seems to be stock CMS platforms that melt down. Where generating a page means a bunch of database queries.
- lloeki 6y agoSeems like it’s currently melted right now. Edit: ah, not. Looks like it’s reachable from my landline (which is IPv4 only) but not from my 4G connection (which has IPv6).
- Nowado 6y agoWhat truly melts sites posted on HN is inevitabile reddit post that follows.
- tyingq 6y agoIt's returning headers with Etags (I don't think darkhttp does those) and a "Server: Nginx" header. So maybe he put a proxy in?
- xyst 6y agoI mean it did take a few seconds to load, so there's at least some effect.