News for hackers. Stuff that matters.
Re:Get Static by paganel on Monday March 23, 2020 @06:37AM (#22662652)
I was really wondering if any of the FAANGs reached out to help websites like https://www.worldometers.info/coronavirus/, which while not that fancy cannot really be static 100%, as they update the virus numbers almost by the minute. They used to have some DB connections problems a couple of days ago and I think I also saw some 503 responses, but thankfully things have stabilised for them since then.
Re:Get Static by yodsanklai on Monday March 23, 2020 @06:56AM (#22662773)
I'm practicing for system design interviews, I'd be very curious to have some design ideas for a site like https://www.worldometers.info/coronavirus/. Seems to be a good case study. Can anyone provide some hints or pointers?
Re:Get Static by raziel2p on Monday March 23, 2020 @07:21AM (#22662917)
Cronjob that re-generates the static HTML every 1 minute would work just fine for a use-case like this.
Re:Get Static by theshrike79 on Monday March 23, 2020 @07:35AM (#22662995)
Isn't that how 4chan works? They just generate static HTML every time something changes.

It works because the read/write -ratio is so heavily skewed towards reads.