Live data from Hacker News

Defcon: Preventing overload with graceful feature degradation (2023)

micahlerner.com

1–10 of 107 posts

Re: Defcon: Preventing overload with graceful feature degradation (2023)

#3
post #2

Am I reading the second figure right? Facebook can do 130*10^6 queries/second == ‭130,000,000‬ queries/second?!

Sounds plausible. There are probably many queries required to display a page and Facebook has 2 billion daily active users.

Re: Defcon: Preventing overload with graceful feature degradation (2023)

#6
post #2

Am I reading the second figure right? Facebook can do 130*10^6 queries/second == ‭130,000,000‬ queries/second?!

I think about 10 years ago when I was working there I checked the trace to load my own homepage. Just one page, just for myself, and there were 100,000 data fetches.

Re: Defcon: Preventing overload with graceful feature degradation (2023)

#7
post #2

Am I reading the second figure right? Facebook can do 130*10^6 queries/second == ‭130,000,000‬ queries/second?!

Those queries are probably mostly memcache hits, though of course with distributed cache invalidation and consistency fun

Re: Defcon: Preventing overload with graceful feature degradation (2023)

#9
post #2

Am I reading the second figure right? Facebook can do 130*10^6 queries/second == ‭130,000,000‬ queries/second?!

I can't comment on the numbers, but think of how many engineers work there and how many users Facebook, Whatsapp, Instagram have. Each engineer is adding new features and queries every day. You're going to get a lot of queries.

Re: Defcon: Preventing overload with graceful feature degradation (2023)

#10
Seems like whenever I log into FB lately it's pretty much always in a state of “graceful feature degradation”.

For example, as soon as I log in I see a bell icon in the upper right with a bright red circle containing an exact positive integer number of notifications. It practically screams “click here, you have urgent business”.

I can then leave the web page sitting there for any number of minutes, and no matter how long I wait, if I click on that notification icon it will take a good 20 seconds to load the list of new notifications. (This is on gigabit fiber in a major metro area, so not a plumbing issue.)

Post reply on HN