On Thursday 10 September 2009 08:39:38 am Yonik Seeley wrote:
> On Thu, Sep 10, 2009 at 9:13 AM, Dan A. Dickey <dan.dic...@savvis.net> wrote:
> > I'm posting documents to Solr using http (curl) from
> > C++/C code and am seeing approximately 3.3 - 3.4
> > documents per second being posted.  Is this to be expected?
> 
> No, that's very slow.
> Are you using libcurl, or actually forking a new process for every document?

I'm using libcurl and not forking.

> Are you committing on every document?

No.

> If you can, using Java would make your life much easier since you
> could use the SolrJ client and it's binary protocol for indexing.

As much as I'd like to, I can't.  At this point in time it would take far
too much code restructuring and rewriting.  There is a database involved,
and some senseless portability library being used - though we only run on
Linux at this point in time.  It's just too much work to switch over to using
Java, for now.
        -Dan

-- 
Dan A. Dickey | Senior Software Engineer

Savvis
10900 Hampshire Ave. S., Bloomington, MN  55438
Office: 952.852.4803 | Fax: 952.852.4951
E-mail: dan.dic...@savvis.net

Reply via email to