lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Monmohan Singh <monmo...@gmail.com>
Subject Re: Connection Pool
Date Sun, 16 May 2010 15:20:18 GMT
Sorry for hijacking the thread, but I have an additional question
Is there a way to achieve similar performance (SUSS like) when targeting
extract request handler (/update/extract)?
I guess one way can be to extract content on the client side and then use
SUSS to send update request but then extraction needs to be taken care of
locally in an asynchronous/batch manner.
Regards
Monmohan

On Sun, May 16, 2010 at 5:19 AM, Lance Norskog <goksron@gmail.com> wrote:

> Connection spooling is specified by the underlying apache commons
> connection manager when you create the Server.
>
> The SUSS does socket pooling by default and is the preferred way to do
> concurrent indexing. There are some quirks in the Server
> implementation set, and SUSS avoids them. Unless you are willing to
> root around in the SolrJ Server code and understand exactly how it
> works, stay with the SUSS.
>
> On Fri, May 14, 2010 at 6:44 AM, gabriele renzi <rff.rff@gmail.com> wrote:
> > On Fri, May 14, 2010 at 3:35 PM, Anderson vasconcelos
> > <anderson.vass@gmail.com> wrote:
> >> Hi
> >> I wanna to know if has any connection pool client to manage the
> connections
> >> with solr. In my system, we have a lot of concurrency index request. I
> cant
> >> shared my  connection, i need to create one per transaction. But if i
> create
> >> one per transaction, i think the performance will down.
> >>
> >> How you resolve this problem?
> >
> > The commonsHttpSolrServer class does connection pooling, and IIRC also
> > the StreamingUpdateSolrServer.
> >
> >
> >
> > --
> > blog en: http://www.riffraff.info
> > blog it: http://riffraff.blogsome.com
> >
>
>
>
> --
> Lance Norskog
> goksron@gmail.com
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message