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.

Reply via email to