Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!nx01.iad01.newshosting.com!newshosting.com!news-out.readnews.com!transit3.readnews.com!postnews.google.com!y7g2000vbe.googlegroups.com!not-for-mail From: Paul Cager Newsgroups: comp.lang.java.programmer Subject: Re: Thread question Date: Wed, 30 Nov 2011 07:10:44 -0800 (PST) Organization: http://groups.google.com Lines: 14 Message-ID: <2da33860-dc78-4e22-a53b-0b7e0631900a@y7g2000vbe.googlegroups.com> References: <081cd7paqgsa8bbg5gjh8v1kinfp7asgt0@4ax.com> NNTP-Posting-Host: 81.94.213.9 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1322665853 29306 127.0.0.1 (30 Nov 2011 15:10:53 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 30 Nov 2011 15:10:53 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: y7g2000vbe.googlegroups.com; posting-host=81.94.213.9; posting-account=VsWLXwoAAAB13M2Ptt5-Bo-K_zCx-zyw User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-Header-Order: HNKUARELSC X-HTTP-UserAgent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/535.2 (KHTML, like Gecko) Chrome/15.0.874.121 Safari/535.2,gzip(gfe) Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:10364 On Nov 30, 11:11=A0am, Patricia Shanahan wrote: > On 11/30/2011 2:32 AM, Roedy Green wrote: > ... > > > I'll be curious to find out the optimal number of threads. =A0I don't > > like to pester the book stores. > > ... > > Here's a basic approach to picking a thread count: > ... In this case it's not just your own resources you have to take into consideration. Some web sites won't like having 20 simultaneous connections from the same IP scraping the site.