Hello again,
The 2 applications being used serve different purposes, one presents a
terms search in a index, the other application is meant to show archived
pages, similar to what happens in internet archive
(internetarchive.org). For the second application to work is needs to
contact the first so that it can locate the required files to show the user.
But my main problem is the increase in response time, does having a lot
of connectors cause thread synchronization issues? Does any one have a
reason for such an increase in time, from 1 sec to 16 ?
Thanks for the help
Simão Fontes
Christopher Schultz wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
André,
On 11/10/2009 4:02 PM, André Warnier wrote:
Caldarale, Charles R wrote:
From: Simão Fontes [mailto:simao.fon...@fccn.pt]
Subject: tomcat 5.5.25 - Multiple Connectors and performance lost
I have 4 web applications that communicate with each other. My problem
consists in getting the information form the various applications when
the number of threads is reached only by one application.
Perhaps you could create a filter for each webapp that monitors the
number of concurrent threads for its webapp and rejects (or queues)
requests that exceed some pre-defined limit.
But somehow this sounds to me like a problem in the design of the
application. If A must call B to get a full response to the client, but
A and B compete for a single resource pool, then why not combine them
into one single A+B process and be done with the competition ?
In addition to saving the overhead of A calling up B.
Wait... are you suggesting that the OP replace a method call via HTTP
with a straight-up Java method call? That's crazy! Haven't you ever
heard of SOA? If he didn't use an HTTP call, he wouldn't be able to say
that he's got "services". ;)
- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkr52QEACgkQ9CaO5/Lv0PCwOgCbB6CSu0wyn+R3bbpn8Fd/jDrQ
9YgAoKQz0t+bJtWroDFtA8x+POBX3pft
=SKmx
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
--
Arquivo da Web Portuguesa | FCCN
Av. do Brasil, n.º 101
1700-066 Lisboa
Tel.: +351 21 8440100 (facultativo) Fax: +351 21 8472167
www.arquivo.pt | www.fccn.pt
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org