On Thu, 2005-12-29 at 21:10 +0100, Roland Weber wrote: > Hi folks, > > as you have probably guessed from the wiki spam, I have been collecting > most of my thoughts about the http-async component for 4.0 as use cases. > I'm through with the initial version now. At this point, I would appreciate > feedback about the five "Use Cases for Asynchronous Communication": > > http://wiki.apache.org/jakarta-httpclient/UseCases > > I am particularly interested in things I may have forgotten or overlooked, > and in premature design decisions I may have implied in the discussions. > > No need to hurry - I'll be offline from Dec 31st to Jan 7th at least. > After that, and as time permits, I will start having a more detailed look > at the use cases SingleAsyncRequest and SingleAsyncRequestNotify. These > will provide the application interface to asynchronous communication. > > cheers and a happy new year, > Roland
Hi Roland, I think this is a good start and undoubtedly HttpAsync will be a welcome addition to the HttpComponents toolkit. So, please go ahead and start hacking. These are some semi-random thoughts in a random order on the matter: (1) The proposed use cases will certainly benefit from a non-blocking HTTP implementation. I think you should consider basing your work on HttpNIO early on. That, of course, means HttpNIO needs to be written first, which is a pretty major task in itself. (2) Out of all use cases, certainly useful in some scenarios, HTTP pipelining is likely to represent a feature with a wider appeal. This is what we should primarily concentrate on. I personally would favour a simpler framework that supports only a subset of the HTTP/1.1 protocol (no except-continue stuff, for instance) but does it reasonably well. (3) HttpAsych (at least in my opinion) should be a fairly thin layer on top of HttpNIO. It should not evolve into something that consists of 50-80 java classes and effectively competes with Jakarta HttpClient in terms of functionality. Anyway, happy hacking and I am looking forward to receiving first patches. Cheers, Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
