You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Bruno Mannina <bm...@free.fr> on 2012/07/15 14:11:58 UTC

Lost answers?

Dear Solr Users,

I have a solr3.6 + Tomcat and I have a program that connect 4 http 
requests at the same time.
I must do 1902 requests.

I do several tests but each time it losts some requests:
- sometimes I get 1856 docs, 1895 docs, 1900 docs but never 1902 docs.

With Jetty, I get always 1902 docs.

As it's a dev' environment, I'm alone to test it.

Is it a problem to do 4 requests at the same time for tomcat6?

thanks for your info,

Bruno

Re: Lost answers?

Posted by Bruno Mannina <bm...@free.fr>.
Hi Michael,

My answer are below,

Thanks !

Le 16/07/2012 21:22, Michael Della Bitta a écrit :
> Hello Bruno,
>
> Jetty is a legitimate choice. I do, however, worry that you might be
> masking an underlying problem by making that choice, without a
> guarantee that it won't someday hurt you even if you use Jetty.
Ok, so I will use Tomcat.


> A question: are you using a client to connect to Solr and issue your
> queries? Something like SolrJ, solr-php-client, rsolr, etc.? If not,
> you might find that someone has already done the work for you of
> making a durable client-side API for Solr, and achieve better results.
>
In fact, client is my own program.
Since several years we use our program to connect to a webservice to get 
xml document.
We bought the database we access with the webservice and now we use now 
solr to request documents.

So I don't need actually other client.

Thanks,
I will check logs, my program, add delay between requests to see if my 
program has an issue.

Re: Lost answers?

Posted by Michael Della Bitta <mi...@appinions.com>.
Hello Bruno,

Jetty is a legitimate choice. I do, however, worry that you might be
masking an underlying problem by making that choice, without a
guarantee that it won't someday hurt you even if you use Jetty.

A question: are you using a client to connect to Solr and issue your
queries? Something like SolrJ, solr-php-client, rsolr, etc.? If not,
you might find that someone has already done the work for you of
making a durable client-side API for Solr, and achieve better results.


Michael Della Bitta

------------------------------------------------
Appinions, Inc. -- Where Influence Isn’t a Game.
http://www.appinions.com


On Mon, Jul 16, 2012 at 3:16 PM, Bruno Mannina <bm...@free.fr> wrote:
> Hello Michael,
>
> I will check the log, but today I think to another thing may be it's my
> program that it losts some requests.
> It's the first time where the download is so fast.
>
> With Jetty, it's a little bit slower so may be for this reason my program
> works fine.
>
> Do you think I can use Jetty for my prod' environment?
> I will have around 500 users / year with 10 000 requests by day max
>
> Le 16/07/2012 16:40, Michael Della Bitta a écrit :
>
>> Hello, Bruno,
>>
>> No, 4 simultaneous requests should not be a problem.
>>
>> Have you checked the Tomcat logs or logged the data in the query
>> response object to see if there are any clues to what the problem
>> might be?
>>
>> Michael Della Bitta
>>
>> ------------------------------------------------
>> Appinions, Inc. -- Where Influence Isn’t a Game.
>> http://www.appinions.com
>>
>>
>> On Sun, Jul 15, 2012 at 2:10 PM, Bruno Mannina <bm...@free.fr> wrote:
>>>
>>> I forgot:
>>>
>>> I do the request on the uniqueKey field, so each request gets one
>>> document
>>>
>>> Le 15/07/2012 14:11, Bruno Mannina a écrit :
>>>
>>>> Dear Solr Users,
>>>>
>>>> I have a solr3.6 + Tomcat and I have a program that connect 4 http
>>>> requests at the same time.
>>>> I must do 1902 requests.
>>>>
>>>> I do several tests but each time it losts some requests:
>>>> - sometimes I get 1856 docs, 1895 docs, 1900 docs but never 1902 docs.
>>>>
>>>> With Jetty, I get always 1902 docs.
>>>>
>>>> As it's a dev' environment, I'm alone to test it.
>>>>
>>>> Is it a problem to do 4 requests at the same time for tomcat6?
>>>>
>>>> thanks for your info,
>>>>
>>>> Bruno
>>>>
>>>>
>>>
>>
>
>

Re: Lost answers?

Posted by Bruno Mannina <bm...@free.fr>.
Hello Michael,

I will check the log, but today I think to another thing may be it's my 
program that it losts some requests.
It's the first time where the download is so fast.

With Jetty, it's a little bit slower so may be for this reason my 
program works fine.

Do you think I can use Jetty for my prod' environment?
I will have around 500 users / year with 10 000 requests by day max

Le 16/07/2012 16:40, Michael Della Bitta a écrit :
> Hello, Bruno,
>
> No, 4 simultaneous requests should not be a problem.
>
> Have you checked the Tomcat logs or logged the data in the query
> response object to see if there are any clues to what the problem
> might be?
>
> Michael Della Bitta
>
> ------------------------------------------------
> Appinions, Inc. -- Where Influence Isn’t a Game.
> http://www.appinions.com
>
>
> On Sun, Jul 15, 2012 at 2:10 PM, Bruno Mannina <bm...@free.fr> wrote:
>> I forgot:
>>
>> I do the request on the uniqueKey field, so each request gets one document
>>
>> Le 15/07/2012 14:11, Bruno Mannina a écrit :
>>
>>> Dear Solr Users,
>>>
>>> I have a solr3.6 + Tomcat and I have a program that connect 4 http
>>> requests at the same time.
>>> I must do 1902 requests.
>>>
>>> I do several tests but each time it losts some requests:
>>> - sometimes I get 1856 docs, 1895 docs, 1900 docs but never 1902 docs.
>>>
>>> With Jetty, I get always 1902 docs.
>>>
>>> As it's a dev' environment, I'm alone to test it.
>>>
>>> Is it a problem to do 4 requests at the same time for tomcat6?
>>>
>>> thanks for your info,
>>>
>>> Bruno
>>>
>>>
>>
>



Re: Lost answers?

Posted by Michael Della Bitta <mi...@appinions.com>.
Hello, Bruno,

No, 4 simultaneous requests should not be a problem.

Have you checked the Tomcat logs or logged the data in the query
response object to see if there are any clues to what the problem
might be?

Michael Della Bitta

------------------------------------------------
Appinions, Inc. -- Where Influence Isn’t a Game.
http://www.appinions.com


On Sun, Jul 15, 2012 at 2:10 PM, Bruno Mannina <bm...@free.fr> wrote:
> I forgot:
>
> I do the request on the uniqueKey field, so each request gets one document
>
> Le 15/07/2012 14:11, Bruno Mannina a écrit :
>
>> Dear Solr Users,
>>
>> I have a solr3.6 + Tomcat and I have a program that connect 4 http
>> requests at the same time.
>> I must do 1902 requests.
>>
>> I do several tests but each time it losts some requests:
>> - sometimes I get 1856 docs, 1895 docs, 1900 docs but never 1902 docs.
>>
>> With Jetty, I get always 1902 docs.
>>
>> As it's a dev' environment, I'm alone to test it.
>>
>> Is it a problem to do 4 requests at the same time for tomcat6?
>>
>> thanks for your info,
>>
>> Bruno
>>
>>
>
>

Re: Lost answers?

Posted by Bruno Mannina <bm...@free.fr>.
I forgot:

I do the request on the uniqueKey field, so each request gets one document

Le 15/07/2012 14:11, Bruno Mannina a écrit :
> Dear Solr Users,
>
> I have a solr3.6 + Tomcat and I have a program that connect 4 http 
> requests at the same time.
> I must do 1902 requests.
>
> I do several tests but each time it losts some requests:
> - sometimes I get 1856 docs, 1895 docs, 1900 docs but never 1902 docs.
>
> With Jetty, I get always 1902 docs.
>
> As it's a dev' environment, I'm alone to test it.
>
> Is it a problem to do 4 requests at the same time for tomcat6?
>
> thanks for your info,
>
> Bruno
>
>