Thnaks Chritopher. I am running JBoss and Apache on the same box so not sure if the TCP/IP stack is bypassed in that case. What I am trying to do is find out where my bottlenecks are. In my code I instrument the response time for my web service and I am below 1msec and if visualvm is right more like 20microseconds response time for the method exposed for my web service. At my Thick client over the lan I am seeing 3-5msec response time using JBoss 4.2.2. So trying to go from tier to tier to see how fast the tiers are and if there is anything else I can tune. I just updated to JBoss 5.1.0 and am seeing 1msec slower or 4-5msec but have not tuned it yet except for jvm settings.
I am using ajp for the connector. I plan to upgrade my Apache web server soon to the latest version hoping for performance improvement for the ajp connector. I will look into what you mentioned. Best Regards, -Tony --- On Tue, 10/6/09, Christopher Schultz <ch...@christopherschultz.net> wrote: > From: Christopher Schultz <ch...@christopherschultz.net> > Subject: Re: Tomcat Repsonse question... > To: "Tomcat Users List" <users@tomcat.apache.org> > Date: Tuesday, October 6, 2009, 10:24 AM > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Tony, > > On 10/4/2009 10:13 PM, Tony Anecito wrote: > > What class method for Tomcat would show the response > time? I am using > > the jvirtualvm to profile the code (simplest and easy > to use) but I > > need to know the name/method that would be closest to > the socket to > > get an idea how fast the container/app is. > > Look at the AccessLogValve that comes with Tomcat. That's > the most > user-servicable component that can get you what you need. > > If you want to instrument Tomcat itself, you'll probably > have to look at > modifying whatever Connector you are using (HTTP, AJP, > etc.). If you > want to go bare-metal, you can always attach a packet > sniffer to the TCP > port and time everything. For that, you'll want Wireshark > or even > libpcap if you don't really care about navigating the > packets in a > convenient way. > > - -chris > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (MingW32) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iEYEARECAAYFAkrLbyoACgkQ9CaO5/Lv0PCfVgCguD7vWRm9NMS/xBAQIihOoqg1 > 8doAni7anMwGEMtB3GOvo9oNz5sPWS3V > =X5vg > -----END PGP SIGNATURE----- > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org