Return-Path: Delivered-To: apmail-jakarta-httpclient-dev-archive@www.apache.org Received: (qmail 25106 invoked from network); 29 Aug 2006 05:34:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 29 Aug 2006 05:34:08 -0000 Received: (qmail 59465 invoked by uid 500); 29 Aug 2006 05:34:07 -0000 Delivered-To: apmail-jakarta-httpclient-dev-archive@jakarta.apache.org Received: (qmail 59442 invoked by uid 500); 29 Aug 2006 05:34:06 -0000 Mailing-List: contact httpclient-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "HttpClient Project" Reply-To: "HttpClient Project" Delivered-To: mailing list httpclient-dev@jakarta.apache.org Received: (qmail 59426 invoked by uid 99); 29 Aug 2006 05:34:06 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Aug 2006 22:34:06 -0700 X-ASF-Spam-Status: No, hits=2.8 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,DNS_FROM_RFC_WHOIS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [68.142.206.39] (HELO web32809.mail.mud.yahoo.com) (68.142.206.39) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 28 Aug 2006 22:34:05 -0700 Received: (qmail 9133 invoked by uid 60001); 29 Aug 2006 05:33:29 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=GBixn6W5TbZOi8HcNvvD2EZuUimtGqcUlpPrZbWbPce0nHWIVDFIPrrfCqHLsVUSLOppgCxaUMiEIHrTlz2Df+MmLxOEiwdUKMFtBggHEM/k41NPkpg/+2r5OXlkyzRDe3OM0b5JP8QUyzttzbMApd0VWKbD8+3+TpizO+fzvCE= ; Message-ID: <20060829053329.9131.qmail@web32809.mail.mud.yahoo.com> Received: from [69.64.230.95] by web32809.mail.mud.yahoo.com via HTTP; Mon, 28 Aug 2006 22:33:29 PDT Date: Mon, 28 Aug 2006 22:33:29 -0700 (PDT) From: Tatu Saloranta Subject: Re: [HttpCore] NIO extensions: progress report To: HttpClient Project In-Reply-To: <1156805050.4935.20.camel@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N --- Oleg Kalnichevski wrote: ... > If you absolutely sure you want to be able to handle > multiple requests > or responses simultaneously using just one worker > thread, NIO is the > only way to go. True. A single worker thread probably need not be a goal, but perhaps it's useful to have M:N mapping between connections and worker threads. But then the question is, at what point does it make sense to switch from simple and reliably one-to-one mapping to a more complicated and higher-overhead solution. Which I think is part of the point you are making (and esp. that it's much more likely that point is reached earlier on server side). > Anyways, we want HttpCore to be as flexible and > versatile as possible. > This is my primary motivator for working on the NIO > extensions. All I am > saying the non-blocking I/O may not be the best > strategy in all cases > and should be used selectively where appropriate. > Benefits of NIO on the > client side seem lesser than on the server side. Sounds very reasonable, and I fully agree with that. I also appreciate your explanation of the issues, especially based on your experience with implementations. It sounds like the approach you were describing (and that has been discussed, and documented at wiki pages) can lead to significant improvements to scalability over existing http solutions, on both server and client sides. This is exactly why I am very interested in seeing the progress, -+ Tatu +- __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: httpclient-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: httpclient-dev-help@jakarta.apache.org