On 8/7/2015 1:15 PM, Nitin Solanki wrote:
> I wrote a python script for indexing and using
> urllib and urllib2 for indexing data via http..

There are a number of Solr python clients.  Using a client makes your
code much easier to write and understand.

https://wiki.apache.org/solr/SolPython

I have no experience with any of these clients, but I can say that the
one encountered most often when Python developers come into the #solr
IRC channel is pysolr.  Our wiki page says the last update for pysolr
happened in December of 2013, but I can see that the last version on
their web page is dated 2015-05-26.

Making 100 concurrent indexing requests at the same time as 100
concurrent queries will overwhelm *any* single Solr server.  In a
previous message you said that you have 4 CPU cores.  The load you're
trying to put on Solr will require at *LEAST* 200 threads.  It may be
more than that.  Any single system is going to have trouble with that. 
A system with 4 cores will be *very* overloaded.

Thanks,
Shawn

Reply via email to