Turbocharging Solr Index Replication with BitTorrent
codeascraft.etsy.com
Turbocharging Solr Index Replication with BitTorrent
1–10 of 14 posts
Re: Turbocharging Solr Index Replication with BitTorrent
#2Etsy wins, Etsy customers win, and now everyone who uses Solr and ttorrent wins too.
Re: Turbocharging Solr Index Replication with BitTorrent
#3(With postgresql, I think replicating the search index to read-only nodes is a solved problem.)
Re: Turbocharging Solr Index Replication with BitTorrent
#4Re: Turbocharging Solr Index Replication with BitTorrent
#5How does postgresql's search compare to solr? (With postgresql, I think replicating the search index to read-only nodes is a solved problem.)
Re: Turbocharging Solr Index Replication with BitTorrent
#6How does postgresql's search compare to solr? (With postgresql, I think replicating the search index to read-only nodes is a solved problem.)
Well, before Etsy switched to Solr we were using postgres tsearch2, and by the end of that search response times were in the 90 second range. And at the time replication wasn't part of postgres so we had a hacked up buggy in-house replicator.
Re: Turbocharging Solr Index Replication with BitTorrent
#7How does postgresql's search compare to solr? (With postgresql, I think replicating the search index to read-only nodes is a solved problem.)
But IMHO, the main advantage to use Solr for search instead of Postgres is the query API.
Re: Turbocharging Solr Index Replication with BitTorrent
#8Earlier quoted context omitted.
Well, before Etsy switched to Solr we were using postgres tsearch2, and by the end of that search response times were in the 90 second range. And at the time replication wasn't part of postgres so we had a hacked up buggy in-house replicator.
And the results were god-awful
(Of course we now have more than four solr slaves.)
Re: Turbocharging Solr Index Replication with BitTorrent
#9Re: Turbocharging Solr Index Replication with BitTorrent
#10You 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...