[Resin-interest] the response time

2010-01-15 Thread long wang
Hi, there, I integrate resin with apache. My resin's version is 3.0.19 and apache is 2.0.59. I configured both of them to record the response time in microseconds(log format %D). But I found the time recorded by resin is much larger than apache. Sometimes it's hundreds of times larger. Does anyo

Re: [Resin-interest] the response time

2010-01-15 Thread Scott Ferguson
long wang wrote: > Hi, there, > > I integrate resin with apache. My resin's version is 3.0.19 and apache > is 2.0.59. I configured both of them to record the response time in > microseconds(log format %D). > > But I found the time recorded by resin is much larger than apache. > Sometimes it's hu

Re: [Resin-interest] the response time

2010-01-15 Thread Jon Stevens
I don't understand why people still put their container behind apache. Unless you are using mod_rewrite or something like that, you don't need to do that. It isn't like apache somehow 'protects' resin from evil doers. If you need a load balancer, get a load balancer. jon On Fri, Jan 15, 2010 at 2

Re: [Resin-interest] the response time

2010-01-16 Thread Wesley Wu
Hi Jon & Scott, I don't like apache either but resin 4.0.2 cluster web-tier seems unstable for me. I've not tested the 4.0.3 cluster. My Apache config: ResinHost 192.168.1.4 6801 ResinBackup 192.168.1.5 6801 Which load balancer will be more appropriate for this usage? Thanks. -Wesley __

Re: [Resin-interest] the response time

2010-01-16 Thread Scott Hernandez
It depends on what your services, performance, and bandwidth requirements are. Anyway, there are (a few) options. ldirectord - (low level) http://linux.die.net/man/8/ldirectord balance -- (low level) http://www.inlab.de/balance.html trafficmanager -- (yahoo lb turned open-source) http://incubator.

Re: [Resin-interest] the response time

2010-01-16 Thread Jon Stevens
Also, my point in mentioning an LB is that it should be done at the network level so as to not incur the same overhead of a reverse proxy like Apache (which is why this email started in the first place). At work we have zxtm connecting to jboss/tomcat which does well enough. Obviously if you are us

Re: [Resin-interest] the response time

2010-01-16 Thread Scott Ferguson
Jon Stevens wrote: > Also, my point in mentioning an LB is that it should be done at the > network level so as to not incur the same overhead of a reverse proxy > like Apache (which is why this email started in the first place). At > work we have zxtm connecting to jboss/tomcat which does well e

Re: [Resin-interest] the response time

2010-01-17 Thread long wang
Hi, Scott, Thanks for your reply. Could you give me some hints about the 3rd-party tool? I want to record the exact time. The time should be accurate to about 1ms at least. Regards On Sat, Jan 16, 2010 at 1:09 AM, Scott Ferguson wrote: > long wang wrote: > > Hi, there, > > > > I integrate re