News for hackers. Stuff that matters.
Re:In Twitter’s early days, only one celebrity could tweet a... by tzs on Friday May 25, 2018 @12:16AM (#17150559)
Did they actually need to know Bieber's friend count both accurately and in real time?

I would expect that for top Twitter accounts like his, you could get a very good approximation by logging events that increment or decrement the friend count, and using the rates those events are occurring and the last known exact friend count to forecast the current friend count. That would not be exact, but I bet you could get it close enough that users would not see anything off about it.

Re:In Twitter’s early days, only one celebrity could tweet a... by mrgordon on Friday May 25, 2018 @12:53AM (#17150718)
Yes they made Storm for this
Re:In Twitter’s early days, only one celebrity could tweet a... by segmondy on Friday May 25, 2018 @10:26AM (#17153999)
Ha, I always joke that Twitter is a good example of why one should avoid distributed systems. Every often, you see it showing the wrong number of friends, tweets, likes, etc. I don't care, I suppose some people care about such metrics.
Re:In Twitter’s early days, only one celebrity could tweet a... by scarface74 on Friday May 25, 2018 @11:05AM (#17154377)
That's the essence of the CAP theorem. You can have two of three - consistency, availability, and partition tolerance. Sometimes it makes sense to choose availability over consistency.