Turbocharging Solr Index Replication with BitTorrent
codeascraft.etsy.com
codeascraft.etsy.com
Etsy wins, Etsy customers win, and now everyone who uses Solr and ttorrent wins too.
You sacrifice on the accuracy of IDF+, but gain some robustness as result too.
If the BitTorrent approach doesn't work too well, you might consider something similar. I've jotted down a few reading resources for scaling Solr++ but I should probably do a write up of the architecture I built for Boards.ie.
[1] http://wiki.apache.org/solr/DistributedSearch
[2] http://rossduggan.ie/blog/technology/reading-list-for-scalin...
FYI mrsync is confusingly named since it doesn’t actually use the rsync algorithm it performs multicast file transfer. (The whole file is sent not just the deltas).
I’ve always thought it would be cool if someone added rsync capabilities on top of bittorrent. I’m not sure Etsy would see any benefit but I bet Twitter with their murder server deploy would.
(With postgresql, I think replicating the search index to read-only nodes is a solved problem.)
(Of course we now have more than four solr slaves.)
But IMHO, the main advantage to use Solr for search instead of Postgres is the query API.