Hi, I see there's no response to my question, maybe its better to ask this way...
If solr receives 10 concurrent request, does it deal with the 10 requests simultaneously using 10 (or as many as possible) searchers, or does it deal with each request sequentially, which implies that first request will be served first, and in the worse case, the last request may have to wait for a long time until all preceding requests have been answered? Thanks zqzuk wrote: > > Hi, I am doing a stress testing of my solr application to see how many > concurrent requests it can handle and how long it takes. But I m not sure > if I have done it in proper way... responses seem to be very slow > > My configuration: > 1 Solr instance, using the default settings distributed in the example > code, while I made two changes: > <useColdSearcher>true</useColdSearcher> > <maxWarmingSearchers>10</maxWarmingSearchers> > As I thought the more searchers the more concurrent requests can be dealt > with? > > There are 1.1 million documents indexed, and the platform is winxp sp2, > duo core 1.8 GB machine with ram 2GB > > I used httpstone, a simple server load testing tool to create 100 workers > (so 100 threads) each issuing one same query to the server. To deal with a > single request of this query it took solr 2 seconds (with facet counts), > and 7 documents are returned. I was assuming that only first request would > take longer time and following requests should be almost instantaneous as > the query is the same. But strange that the first response took as long as > 20 seconds. > > It looked like that the 100 workers sent same request to solr and then all > of a sudden solr server went silent. Only after 20 seconds some of these > workers started to receive responses, but still very slow. > > clearly there I must have made something wrong with configuring solr > server... Could you give me some pointers on how to improve the > performance please? > > Many thanks! > -- View this message in context: http://www.nabble.com/how-to-improve-concurrent-request-performance-and-stress-testing-tp15299687p15306531.html Sent from the Solr - User mailing list archive at Nabble.com.