Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you think Reddit handles reindexing their posts to keep the accurately in order?

I can't imagine it indexing per vote. It would strain the server innapropriately.

I mention this because I'm trying to do something similar on a project of mine, and can't figure out what the best way to index objects after they have been voted on.

I am using Sunspot-Solr.

like image 889
Trip Avatar asked Dec 01 '25 06:12

Trip


2 Answers

Well, I can't say for sure, but they are an open source project. http://code.reddit.com/

like image 136
dslashdx Avatar answered Dec 02 '25 21:12

dslashdx


I know I'm late, but today reddit fixed their search in a way that brings a new light to your question. The answer is that search engines like Solr can't deal with frequent updates like reddit votes. They're using IndexTank now, and it definitely works! (yes, I am a developer an IndexTank)

like image 41
jhandl Avatar answered Dec 02 '25 21:12

jhandl