Have you gone through http://wiki.apache.org/solr/ SolrPerformanceFactors ?

Can you explain a little more about your testcase, maybe even share code? I only know a little PHP, but maybe someone else who is better versed might spot something.

On Oct 30, 2008, at 8:39 AM, Kraus, Ralf | pixelhouse GmbH wrote:

Mark Miller schrieb:
Kraus, Ralf | pixelhouse GmbH wrote:
Mark Miller schrieb:
Right now I am stress testing the performence and sending 2500 search
request via JSON protocol and from my PHPUnit testcase.
All search reuqest are different so caching don´t do it for me.
Right now our old Lucene-JSPs are avout 4 times faster than my SOLR
Sollution :-(



Well, with Lucene it is an API call in the same JVM in the same web application. With Solr, you are making HTTP calls across the network, serializing requests and de-serializing responses. So the comparison is not
exactly apples to apples.

Look at what Solr offers -- replication, caching, plugins etc. Will you really need to go over 2500 requests per second? Do you need to be concerned with performance above and beyond that? Will it be easier to scale out to
more boxes?


And have you tried solrj without http?

Right now I am using this php classes to send and receiver my requests :

- Apache_Solr_Service.php
- Responce.php

It has the advantage that I don´t need to write extra JSP oder JAVA code...

Greets -Ralf-
I think it will have the disadvantage of being a lot slower though...

How were you handling things with Lucene? You must have used Java then? If you even want to get close to that performance I think you need to use non http embedded solr.

Okay okay :-) I am writing a new JSP Handler for my requests as we speak :-) I really hope performence will be better than with {wt=javabin} ....

Greets -Ralf-

--------------------------
Grant Ingersoll
Lucene Boot Camp Training Nov. 3-4, 2008, ApacheCon US New Orleans.
http://www.lucenebootcamp.com


Lucene Helpful Hints:
http://wiki.apache.org/lucene-java/BasicsOfPerformance
http://wiki.apache.org/lucene-java/LuceneFAQ









Reply via email to