News for hackers. Stuff that matters.
Re:Reddit's database has only two tables by ars on Sunday September 02, 2012 @09:32PM (#4468789)
I guess now I know why reddit is so slow.

Among other problems, with a table structure like this it's hard to make good indexes.

Re:Reddit's database has only two tables by wisty on Monday September 03, 2012 @12:05PM (#4470806)
No, it's not.

Everything (everything) is cached in memcachdb, which is also where they store their global variables.

It's a terrible design, but it's a web forum. All they need is good horizontal scaling.

Re:Reddit's database has only two tables by batista on Monday September 03, 2012 @02:38AM (#4469348)
Compared to what? Reddit is damn fast.

And this table structure has nothing to do with Reddit speed. The pages you get, 99.999% of them come from Cassandra and caches, pre-rendered.

So no, reddit is not slow, even less "so slow", and no, the table structure has nothing to do with it's speed.

Re:Reddit's database has only two tables by eco on Monday September 03, 2012 @04:15AM (#4469571)
Signed-in reddit is one of the slowest sites I use. It is, however, very fast for what it is doing. I have no complaints about the speed, only wishful thinking.
Re:Reddit's database has only two tables by Acne_Researcher on Monday September 03, 2012 @06:28PM (#4472068)
I concur. Signed-in reddit is very slow. Signed-out reddit is better but still feels slow. Perhaps I am spoiled by Facebook, Google & co.