by symisc_devel · 5y ago · 0 comments
http://status.m5hosting.com/pages/incident/5407b8e2b00244251...
edit: Unrelated to the Azure outage.
Don't take my word for it. Test it for yourself:
printf 'GET / HTTP/1.1\r\nHost: news.ycombinator.com\r\nConnection: close\r\n\r\n' \
|openssl s_client -connect cloudflare.com:443 -ign_eof -servername news.ycombinator.comThis actually got me thinking. Do we really need CDN? This is one of those thing we take and use without actually thinking whether we could do without it.
Interesting thought experiment.
Static websites will get the best speed boost from locally served assets (much reduced latency from the local POP) because the page itself can be cached (presuming headers on origin site are correctly set). Especially for page requests from international users.
There may need to be read replicas, but maybe not even that is needed.
But we get around 6M requests a day now.
(Just so nobody misinterprets my question, nothing wrong with FreeBSD, I know other stuff also runs on it like Netflix’s CDN. Still always interested to hear why people choose the road less travelled)
There's an open source fork at https://github.com/arclanguage/anarki, but it doesn't have any direct relationship with HN.
https://news.ycombinator.com/item?id=18496344
(Anyone know if that's still the case?)
Asking as someone who was impacted by the OVH fire last week, and I didn't have recent backups and therefore lost data.
https://meta.stackexchange.com/questions/10369/which-tools-a...
tl;dr StackOverflow's architecture is fairly simple and has done mostly vertical scaling (more powerful machines) and bare metal servers rather than virtual servers. They also realize their use patterns are read-heavy so there's a lot of caching and they take advantage of CDNs for static content which completely offloads that traffic off their main servers.
[0] https://nickcraver.com/blog/2016/02/17/stack-overflow-the-ar...