Home | About | Sematext search-lucene.com search-hadoop.com
 Search Lucene and all its subprojects:

Switch to Threaded View
Solr, mail # user - SOLR: Replication


Copy link to this message
-
RE: SOLR: Replication
Fuad Efendi 2010-01-03, 16:27
Thank you Yonik, excellent WIKI! I'll try without APR, I believe it's
environmental issue; 100Mbps switched should do 10 times faster (current
replica speed is 1Mbytes/sec)
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Yonik
> Seeley
> Sent: January-03-10 10:03 AM
> To: [EMAIL PROTECTED]
> Subject: Re: SOLR: Replication
>
> On Sat, Jan 2, 2010 at 11:35 PM, Fuad Efendi <[EMAIL PROTECTED]> wrote:
> > I tried... I set APR to improve performance... server is slow while
> replica;
> > but "top" shows only 1% of I/O wait... it is probably environment
> specific;
>
> So you're saying that stock tomcat (non-native APR) was also 10 times
> slower?
>
> > but the same happened in my home-based network, rsync was 10 times
> faster...
> > I don't know details of HTTP-replica, it could be base64 or something
> like
> > that; RAM-buffer, flush to disk, etc.
>
> The HTTP replication is using binary.
> If you look here, it was benchmarked to be nearly as fast as rsync:
> http://wiki.apache.org/solr/SolrReplication
>
> It does do a fsync to make sure that the files are on disk after
> downloading, but that shouldn't make too much difference.
>
> -Yonik
> http://www.lucidimagination.com