Re: Parallel queries on a single core

2013-06-17 Thread Shawn Heisey
On 6/17/2013 2:32 PM, Manuel Le Normand wrote: Hello all, Assuming I have a single shard with a single core, how do run multi-threaded queries on Solr 4.x? To run multithreaded queries, just send them at the same time, as you mention below. Solr will run them in parallel, within the limits of

Re: Parallel queries on a single core

2013-06-17 Thread Manuel Le Normand
Yes, that answers the first part of my question, thanks. So saying N (equally heavy) queries agains N CPUs would run simultaneously, right? Previous posting suggest high qps rate can be solved perfomance-wise by having high replicationFactor. But what's the benefit (performance wise) compared to

Re: Parallel queries on a single core

2013-06-17 Thread Otis Gospodnetic
If I understand your question correctly - what happens with Solr and N parallel queries is not much different from what happens with N processes running in the OS - they all get a slice of the CPU time to do their work. Not sure if that answers your question...? Otis -- Solr & ElasticSearch Suppo

Parallel queries on a single core

2013-06-17 Thread Manuel Le Normand
Hello all, Assuming I have a single shard with a single core, how do run multi-threaded queries on Solr 4.x? Specifically, if one user sends a heavy query (legitimate wildcard query for 10 sec), what happens to all other users quering during this period? If the repsonse is that simultaneous queri