7 ms·
Hugged to death. “If you were using federated Kuberenetes with node auto-scaling and the latest cloud-native AI-enabled service discovery OSS tools for geograp
by funfunfunction 7y ago
Hugged to death.
“If you were using federated Kuberenetes with node auto-scaling and the latest cloud-native AI-enabled service discovery OSS tools for geographically aware traffic distribution your static site wouldn’t have gone down.”
- wbl 7y agoWhat's the total traffic our hug brings?
- SmooL 7y agoYeah my bad; my site is mostly just for my personal use and I didn't really optimize for views lol. I'm seeing about 200 views/minute.
- crooked-v 7y agoYou may want to look at sticking it behind Cloudflare, since their basic CDN service is free.
- rovr138 7y agoJust exporting it to static HTML would work or some some of cache. Maybe varnish or even a reverse proxy with caching.
- scarface74 7y agoIf he exported to static html, he could just put the static contents on S3 and configure the bucket to be accessible via https.
- ldoughty 7y agoOr CloudFront. He's on AWS, and it's nearly free (<.05 cents for most personal websites)
- aj7 7y agoIndeed can’t read. Getting 500 Server error.
- ibudiallo 7y agoI wrote an article here, and the traffic I got was 1.3 million web requests. All I did was use memcache, and have all my static assets served with nginx. Just like the article implies, if it requires any tweaking and configuration, most people won't/can't do it.
- numpad0 7y agoLet’s call that LaForge engineering(or Spock if you’re TOS person)
- Aperocky 7y agoI wonder how a personal website can’t be made to handle HN traffic? Is there are some kind of excessive back end that cause stuff like this?
- macNchz 7y agoI think the most prototypical "hugged to death" personal website is a stock wordpress setup on shared hosting or a low spec vm, without any caching plugins, and perhaps with some popular plugins that happen to be database heavy. It's easy to click a few buttons, install some plugins and themes, and wind up running 100+ sql queries on every page load. The various caching plugins work very well, but it's not necessarily something everyone thinks of turning on in advance of getting a lot of traffic all at once. Can't say if that's what happened here, but it's super common when personal sites linked here go down.
- Aperocky 7y agoAh thanks. This make sense now. I had mine entirely frontend and even had a decent sized js game on it but never had any trouble posting. Likely because I never needed to deal with sql, (or low traffic)
- tomschlick 7y agoPeople don't take advantage of caching headers. Put cloudflare in front of your blog with 10 minute caching headers and that isnt going down for almost anything.
- tyingq 7y agoThey don't even need Cloudflare. Just a typical cache plugin would allow a WordPress/Django/Rails/whatever site to survive HN. Every page request being 90 database calls to satisfy "related posts", "wordclouds", "previous", "next", "related" and whatnot just doesn't scale :) Yey abstraction.
- istjohn 7y agoYou can read about his tech stack here[1]. Curiously, his "About" page loads fine. He is using a Django REST API with DynamoDB and the "whole site is hosted serverlessly on AWS Lambda." 1. lucassimpson.com/about/
- tudorw 7y agoOr if you'd just posted it on Usenet, oh wait
- ikurei 7y agoWeb Archive has it: https://web.archive.org/web/20200201105504/https://lucassimpson.com/blog/2020-01-23/my-second-phone-is-in-the-cloud/ https://web.archive.org/web/20200201105504/https://lucassimp...
- notyourday 7y ago> Hugged to death. It's a static site FFS! Erols and ServInt were serving 3k requests per second on a Pentium in the nineties using Apache and SCSI disks with no acceleration, no http cache, no memcache because that 2KB page fits into OS disk cache!
- heavenlyblue 7y agoEverything fits into OS disk cache as long as there’s enough free RAM.
- ernsheong 7y agoCan't resist: He turned off his second phone ;)