On Sun, Dec 13, 2009 at 10:14 PM, Yonik Seeley <[email protected]> wrote: > 2009/12/13 Noble Paul നോബിള് नोब्ळ् <[email protected]>: >> I guess the async part is done by the client library itself. How does >> it help Solr? > > The only place that makes sense for async in solr is sending multiple > requests as part of a distributed search (potentially hundreds) and > not having to have a thread for each. But even in that case I'm not > sure it's really a big deal - for each request, the work required of > the system as a whole is much greater than the resources a thread > takes up (and we use a thread pool to avoid creating/destroying > threads all the time). The point is , the underlying http request is still synchronous ( correct me if I am wrong) . So there is some thread waiting somewhere either the httpclinet framework or the threadpool in solr. > > -Yonik > http://www.lucidimagination.com >
-- ----------------------------------------------------- Noble Paul | Systems Architect| AOL | http://aol.com
