yes, most of time is waiting,

I use tomcat NIO connector, with async cxf webservice server (exposed as
async servlet) and async cxf client,
I use no my own threaded-queue

regards
Jakub

ps
possibly camel could do it more elegantly and with less programming effort


On Tue, Jun 18, 2013 at 5:21 PM, Christopher Schultz <
ch...@christopherschultz.net> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> Jakub,
>
> On 6/18/13 3:27 AM, Ja kub wrote:
> > Ravindra,
> >
> > Thx for idea, I will read about it, but at first glance it looks
> > like with 5000 pending servlet requests I will have 5000 threads
> > awaiting response from cxf client, with async servlet and async cxf
> > webservice server, connected with async cxf client, all 5000
> > pending threads can be served by one thread,
>
> Sounds like async + your own threaded-queue is the way to go, assuming
> that you really have to wait-around a while for CXF responses.
>
> > I have to deal not only with faults, but also with long running
> > webservice client requests - up to two client requests, 20 second
> > each
>
> Most of that time is just sitting there waiting, right?
>
> - -chris
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
> Comment: GPGTools - http://gpgtools.org
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>
> iQIcBAEBCAAGBQJRwHrzAAoJEBzwKT+lPKRYqu0P/iMUOAqDZ0sSI2evQhz7xJh/
> tPaOeF6bISOqfCfbyFKesZrDEDoc/wZrdBmzfkT+72M8jKfbY4MBGCtvkol0ffcl
> SWEphu5wW2TRxcaoG6r7DWrCtE87AJaofgvd+VtN9lE0fPtdXJqf0s8bnE/+I2TN
> hnoyNXfhC/3lMNGG16d6/1Vi16qWV4d+H5Fo9fz3ohunBBHFq6L10OxXRu7alL//
> KKpyenMn2KFZeGsokty2dmMr9bNW2PYgHTXrjZCK8DU8iTGtCRRPoZtF2ZJWcchP
> qSZxm1ZqFFLsWbRd54ixdmivvk2OEleoDhgjYGRSuPt36vYcfhGP4svuMvcWA+bR
> juipkA0kKxZjRQ0kFfjqoowQIL+iLsUeBmfeL8YchxvFkzt0bTskfUnEd60kzTCo
> dfGJkBCuPR5qjXwffYHJd3mDlPjL9hd2npcns8KQgad0WJA5rZZdmEl7K2vKpOw7
> fBy4r3gJR2T+g0974+UoqBcTU+wdIebIe6XPF7GweNS6fbCTekTjM1iS/JFj3Qrc
> mtGj85i5QEmgTpLRQqZG+N4lY/4Rpvk+i9JsmP4KvQAT1Dkgcs95IAPrettDWqNs
> ZKPtZJBeW+tnsi5ZXET4M3fnFoxdCK1+7igrYHjbvs4sXlmWyc1gz9lrTnO/nmHY
> 6vaOUf6Nfw6M5EFcG9Or
> =UZ+y
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>

Reply via email to