4 ms·
Did you see that the top post on HN for a decent chunk of yesterday was celebrating that they were getting 200 rps? 200 rps was not something to brag about to y
by crazy_horse 5y ago
Did you see that the top post on HN for a decent chunk of yesterday was celebrating that they were getting 200 rps? 200 rps was not something to brag about to your parents 15 years ago, but half of HN seems to have never heard of serving a static file through Nginx.
I don't want to be overdramatic but it confused the hell out of me and it made me worry about the industry. How can you have all these people cargo-culting into frameworks and languages and they don't know the fundamentals?
- laumars 5y agoFrameworks are there to make development more accessible. So I can completely understand how one might trade on a framework without understanding the fundamentals.
- 1vuio0pswjnm7 5y agoWhats Nginx. Is that AWS. (Kidding) As has been the case since the emergence of MicroSoft, companies in software/internet rely on general ignorance of users/developers for their business plans to succeed. Making people smarter and more self-reliant, running their own software for themselves, is not part of the plan. Making them reliant on someone else is the plan. Desktop has too much potential for user control. Web is safely under the control of a handful of gatekeeper companies. Earlier HN submission today was promotion of a book by Microsoft Chief Legal Officer about how people are not competent to run their own software and should therefore let companies like MS run it for them in the cloud. Foreward written by Chief Marketing Officer, Microsoft. (Kidding again)
- azangru 5y ago> Whats Nginx. Is that AWS. Nah, it's Kubernetes
- roenxi 5y agoPut it this way - most websites probably never reach single digit rps. And it really doesn't matter if the limit is 200 rps when a website is only serving 1 rps. Then there will be so many people involved in website building that the 1-2% who know what is going on will be enough to overwhelm the demand of people who need to run high-scale websites. People might waste an order of magnitude more resources than they need in the process, but realistically the absolute value lost is small.
- golergka 5y agoRequests aren't made equal. I don't have an opinion about the manga hosting site, but I have worked on a website where many read requests required a lot of heavy joins other data work for actual useful work and weren't really cacheable, as every used requested his own data. Here's an example: https://cs.fastcup.net/match6279498/stats https://cs.fastcup.net/match6279498/stats
- jiggawatts 5y agoManga hosting is the poster child for slowly-changing, largely read only static content. A bunch of thumbnails and some text, with a basic search function. The site you linked is more interesting. It's the type of thing where the obvious optimisation would be to perform the complex processing in-memory for live games, and then return a single precomputed static document blob for old games. (I assume the match results don't change over time.) Most sites have data that isn't anywhere near as "live" as the developers assume it is...
- golergka 5y ago> I assume the match results don't change over time. In this example of one match they don't, but there's a lot of aggregates that are functions of live data.