lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ranveer <ranveer.s...@gmail.com>
Subject Re: query about the server configuration
Date Mon, 20 Jun 2011 16:43:09 GMT
thanks..

However I am still not clear about that How can I achieve the requirement:

1. I have around 10000 file to index daily.
2. I need to index in every 5 minutes
3. size of the files are 50mb per day
4. 10 to 20 concurrent users

please help..

regards

On Monday 20 June 2011 06:07 PM, Erick Erickson wrote:
>  From Ahmet Arslan's email to Ranveer:
>
>
> It uses HttpClient under the hood. You can pass httpClient to its
> constructor too. It seems that MultiThreadedHttpConnectionManager has
> setMaxConnectionsPerHost method.
>
> String serverPath = "http://localhost:8983/solr";
> HttpClient client = new HttpClient(new MultiThreadedHttpConnectionManager());
> URL url = new URL(serverPath);
> CommonsHttpSolrServer solrServer = new CommonsHttpSolrServer(url, client);
>
> Best
> Erick
>
> On Sun, Jun 19, 2011 at 9:45 PM, Jonty Rhods<jonty.rhods@gmail.com>  wrote:
>> I forgot an important point that I need to commit the server in 2 to 5
>> minutes..
>>
>> please help..
>>
>> regards
>>
>>
>> On Sun, Jun 19, 2011 at 11:29 PM, Ranveer<ranveer.solr@gmail.com>  wrote:
>>
>>> Please help I am also in same situation.
>>>
>>> regards
>>>
>>>
>>>
>>> On Sunday 19 June 2011 12:59 PM, Jonty Rhods wrote:
>>>
>>>> Dear all,
>>>>
>>>> I am quite new and not work on solr for heavy request.
>>>>
>>>> I have following server configuration:
>>>>
>>>> 16GB RAM
>>>> 16 CPU
>>>>
>>>> I need to index update in every minutes and at least more than 5000 docs
>>>> per
>>>> day. Size of the data per day will be around 50 MB. I am expecting 10 to
>>>> 30 concurrent hit on server which is 2 million hits per day and around 30
>>>> to
>>>> 40 concurrent user at peak our.
>>>>
>>>> Right now I had configure core and using static method to call solr server
>>>> in solrj (SolrServer server = new HttpSolrServer();). I am worried that at
>>>> peak our static instance of the server in solrj will not able to perform
>>>> the
>>>> response and it will become slow.
>>>>
>>>> Is there any way to open more then one connection of server instance in
>>>> the
>>>> SolrJ like connection pool which we are using in Database related
>>>> connection
>>>> pooling (Apache DBCP or Hibernate).
>>>>
>>>> Please help me to configure the server as my heavy requirements.
>>>>
>>>> thanks for your help.
>>>>
>>>> regards
>>>> jonty
>>>>
>>>>


Mime
View raw message