Earlier quoted context omitted.
The dominance of non-relevance is interesting for HN. Was writing exact the same thing, and just saw yours. In this and some other technical topics, people end up discussing their personal tastes with web site's design, their individual UI frustrations with some button on the web site, the font, the color, and other random non-relevant topic; like now the profitability.
It's no excuse, but I see a reason for this: most people feel they understand these irrelevant topics better than they understand the scalability features of the infrastructure Reddit has built. People talk about their comfort zone.
Scaling Reddit from 1 Million to 1 Billion – Pitfalls and Lessons [video]
101–110 of 114 posts
Re: Scaling Reddit from 1 Million to 1 Billion – Pitfalls and Lessons [video]
#102So did anyone else take the most important lessons in the video as: 1. Use AWS 2. Use Postgres 3. Use AWS 4. Use Cassandra 5. Use python, so later you can write C when shit needs to go super fast That's what I got.
Those are some of the important lessons, although use (postgres|cassandra) are really too prescriptive. More like "use the right tool or tools for the job".
Also, use consistent key hashing where appropriate is another important less that I should emphasize more.
And "build for 3" is another important lesson. It makes scaling much easier.
Re: Scaling Reddit from 1 Million to 1 Billion – Pitfalls and Lessons [video]
#103Earlier quoted context omitted.
Sorry that wasn't clear. The latency didn't get better, but what happened is that instead of having to make a lot of calls to memcache it was just one (well, just a few), so while that one took longer, the total time was much less.
I actually did some (simplistic) examples of this in a small presentation to illustrate the performance improvements of batching memcached requests, if anyone's interested: https://speakerdeck.com/robotmay/a-simple-introduction-to-ef... (slides 11 to 14)
Re: Scaling Reddit from 1 Million to 1 Billion – Pitfalls and Lessons [video]
#104I wonder if the demise of Digg three years ago and the (supposedly) inflow of new users have been problematic at the time.
It's important to keep in mind that reddit was already doing twice as much traffic as Digg before they launched v4.
Re: Scaling Reddit from 1 Million to 1 Billion – Pitfalls and Lessons [video]
#105Side question: is vote queuing the reason behind the sometimes large drops in score on highly active and popular submissions on reddit?
A lot of those people aren't interested in that content, so it will suddenly get an influx of downvotes.
Re: Scaling Reddit from 1 Million to 1 Billion – Pitfalls and Lessons [video]
#106Does anyone know how the different storage systems are utilized, and why each system is utilized for that purpose? The presenter mentions using memcached, Cassandra, and PostgreSQL, and mentions the same type of data when discussing each (votes, for instance). I would definitely benefit from a more in-depth understanding of how each system is utilized, and why.
Memcache has no guarantees about durability, but is very fast, so the vote data is stored there to make rendering of pages as quick as possible.
Cassandra is durable and fast, and gives fast negative lookups because of its bloom filter, so it was good for storing a durable copy of the votes for when the data isn't in memcache.
Postgres is rock solid and relational, so it was a good place to store votes as a backup for Cassandra (we could regenerate all the data in Cassandra from Postgres if necessary) and also for doing batch processing, which sometimes needed the relational capabilities.
Re: Scaling Reddit from 1 Million to 1 Billion – Pitfalls and Lessons [video]
#107Does anyone know how the different storage systems are utilized, and why each system is utilized for that purpose? The presenter mentions using memcached, Cassandra, and PostgreSQL, and mentions the same type of data when discussing each (votes, for instance). I would definitely benefit from a more in-depth understanding of how each system is utilized, and why.
Each tool has a different use case. Votes is a great example. Memcache has no guarantees about durability, but is very fast, so the vote data is stored there to make rendering of pages as quick as possible. Cassandra is durable and fast, and gives fast negative lookups because of its bloom filter, so it was good for storing a durable copy of the votes for when the data isn't in memcache. Postgres is rock solid and re…
Re: Scaling Reddit from 1 Million to 1 Billion – Pitfalls and Lessons [video]
#108Earlier quoted context omitted.
The dominance of non-relevance is interesting for HN. Was writing exact the same thing, and just saw yours. In this and some other technical topics, people end up discussing their personal tastes with web site's design, their individual UI frustrations with some button on the web site, the font, the color, and other random non-relevant topic; like now the profitability.
It's no excuse, but I see a reason for this: most people feel they understand these irrelevant topics better than they understand the scalability features of the infrastructure Reddit has built. People talk about their comfort zone.
Re: Scaling Reddit from 1 Million to 1 Billion – Pitfalls and Lessons [video]
#109I wonder if the demise of Digg three years ago and the (supposedly) inflow of new users have been problematic at the time.
There wasn't actually a very large jump in traffic when Digg v4 was launched. Most of those folks were already reddit users. Traffic bumped a little bit, but not all that much. It's important to keep in mind that reddit was already doing twice as much traffic as Digg before they launched v4.
I, for one, went from a /r/php lurker to real user at that time so I thought there was dozens of us, dozens !
Re: Scaling Reddit from 1 Million to 1 Billion – Pitfalls and Lessons [video]
#110Side question: is vote queuing the reason behind the sometimes large drops in score on highly active and popular submissions on reddit?
No. That's generally because once something gets popular and jumps to the front page, it gets a huge boost in visibility, especially from people who weren't looking at the niche subreddit it comes from. A lot of those people aren't interested in that content, so it will suddenly get an influx of downvotes.
I'm glad there is an explanation based on user behavior for this phenomenon because admin level vote tampering is such a tired theory.