Re: Apache connectors for tomcat

2007-09-28 Thread Filip Hanik - Dev Lists

personal preference in this order


mod_proxy_http, mod_jk, mod_proxy_ajp



rahul wrote:

Hi,
Which is the recommended connector for Apache now?
mod_jk or mod_proxy_ajp (with balancer) ?

rahul
--
1. e4 _


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



  



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Apache connectors for tomcat

2007-09-28 Thread Tony Anecito
Not sure about the interface/protocol being depricated
since there was just a new release of mod_jk 1.2.25?
Also, someone put some effort into improvments into it
2.2.6 of Apache.

I also noticed a 10% performance improvement in
request response times using mod_jk which I was told
about and proven for my web services implementation
using Tomcat.

Finally what to do about load balanceing if Mod_jk
goes away does someone have an answer to that?


Regards,
-Tony

--- Charlie Wingate [EMAIL PROTECTED] wrote:

 You may find this link helpful.it works if your
 using the same
 versions as the article.  But I think JK2 has been
 'deprecated'.
 

http://www.roktech.net/devblog/enclosures/iis6-Tomcat5-JK2.pdf
 
 ~Charlie
  
  
 The significant problems we have cannot be solved at
 the same level of
 thinking with which we created them.
   - Albert Einstein
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] 
 Sent: Friday, September 28, 2007 3:25 AM
 To: users@tomcat.apache.org
 Subject: Apache connectors for tomcat
 
 Hi,
 Which is the recommended connector for Apache
 now?
 mod_jk or mod_proxy_ajp (with balancer) ?
 
 rahul
 --
 1. e4 _
 
 

-
 To start a new topic, e-mail:
 users@tomcat.apache.org
 To unsubscribe, e-mail:
 [EMAIL PROTECTED]
 For additional commands, e-mail:
 [EMAIL PROTECTED]
 
 
 
 
  
  


 
 This footnote confirms that this email message has
 been scanned by
 PineApp Mail-SeCure for the presence of malicious
 code, vandals 
 computer viruses.


 
 
 
 
 
 
 

---
 This message is a CONFIDENTIAL communication.  If
 you are not the intended recipient, please do not
 read, copy, or use it, and do not disclose it to
 others.  Please notify the sender of the delivery
 error by replying to this message, and then delete
 it from your system.  Thank you.
 


 This footnote confirms that this email message has
 been scanned by
 PineApp Mail-SeCure for the presence of malicious
 code, vandals  computer viruses.


 
 
 
 

-
 To start a new topic, e-mail:
 users@tomcat.apache.org
 To unsubscribe, e-mail:
 [EMAIL PROTECTED]
 For additional commands, e-mail:
 [EMAIL PROTECTED]
 
 



  

Luggage? GPS? Comic books? 
Check out fitting gifts for grads at Yahoo! Search
http://search.yahoo.com/search?fr=oni_on_mailp=graduation+giftscs=bz

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Apache connectors for tomcat

2007-09-28 Thread Charlie Wingate
You may find this link helpful.it works if your using the same
versions as the article.  But I think JK2 has been 'deprecated'.

http://www.roktech.net/devblog/enclosures/iis6-Tomcat5-JK2.pdf

~Charlie
 
 
The significant problems we have cannot be solved at the same level of
thinking with which we created them.
  - Albert Einstein
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 28, 2007 3:25 AM
To: users@tomcat.apache.org
Subject: Apache connectors for tomcat

Hi,
Which is the recommended connector for Apache now?
mod_jk or mod_proxy_ajp (with balancer) ?

rahul
--
1. e4 _


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




 
 


This footnote confirms that this email message has been scanned by
PineApp Mail-SeCure for the presence of malicious code, vandals 
computer viruses.








---
This message is a CONFIDENTIAL communication.  If you are not the intended 
recipient, please do not read, copy, or use it, and do not disclose it to 
others.  Please notify the sender of the delivery error by replying to this 
message, and then delete it from your system.  Thank you.


This footnote confirms that this email message has been scanned by
PineApp Mail-SeCure for the presence of malicious code, vandals  computer 
viruses.





-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Apache connectors for tomcat

2007-09-28 Thread Filip Hanik - Dev Lists

Christopher Schultz wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Filip,

Filip Hanik - Dev Lists wrote:
  

personal preference in this order

mod_proxy_http, mod_jk, mod_proxy_ajp



I'm interested: why choose mod_proxy_http over mod_jk?
  
ease of configuration, no API nor configuration incompatibilities 
between dot (.) releases, text protocol, easier to debug, better socket 
handling (uses APR), ability to use smart load balancing (through 
appliances in between) since it uses the HTTP protocol(otherwise you can 
just LB TCP sessions),

speed difference has been so small, that it doesn't outweigh the other pros.

again, just personal opionions
Filip

- -chris

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG/SZ19CaO5/Lv0PARAsm5AJ47ndEuIqfmT9LHA27Kl17MI13lhgCggyzy
UVl1HP68RySRkjuxjAKBb9M=
=rFt2
-END PGP SIGNATURE-

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



  



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Apache connectors for tomcat

2007-09-28 Thread Charlie Wingate
I'm confused.Doesn't mod_jk use ajp1.3 on the tomcat side?  Was that
with or without the native runtime library?

~Charlie
 
 
The significant problems we have cannot be solved at the same level of
thinking with which we created them.
  - Albert Einstein

-Original Message-
From: Tony Anecito [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 28, 2007 12:56 PM
To: Tomcat Users List
Subject: Re: Apache connectors for tomcat

I had heard that mod_jk was faster so I switched from
ajp to mod_jk and sure enough mod_jk was 10% faster
for me.

-Tony

--- Christopher Schultz [EMAIL PROTECTED]
wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Filip,
 
 Filip Hanik - Dev Lists wrote:
  personal preference in this order
  
  mod_proxy_http, mod_jk, mod_proxy_ajp
 
 I'm interested: why choose mod_proxy_http over
 mod_jk?
 
 - -chris
 
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.7 (MingW32)
 Comment: Using GnuPG with Mozilla -
 http://enigmail.mozdev.org
 

iD8DBQFG/SZ19CaO5/Lv0PARAsm5AJ47ndEuIqfmT9LHA27Kl17MI13lhgCggyzy
 UVl1HP68RySRkjuxjAKBb9M=
 =rFt2
 -END PGP SIGNATURE-
 

-
 To start a new topic, e-mail:
 users@tomcat.apache.org
 To unsubscribe, e-mail:
 [EMAIL PROTECTED]
 For additional commands, e-mail:
 [EMAIL PROTECTED]
 
 



   


Building a website is a piece of cake. Yahoo! Small Business gives you
all the tools to get online.
http://smallbusiness.yahoo.com/webhosting 

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




 
 


This footnote confirms that this email message has been scanned by
PineApp Mail-SeCure for the presence of malicious code, vandals 
computer viruses.








---
This message is a CONFIDENTIAL communication.  If you are not the intended 
recipient, please do not read, copy, or use it, and do not disclose it to 
others.  Please notify the sender of the delivery error by replying to this 
message, and then delete it from your system.  Thank you.


This footnote confirms that this email message has been scanned by
PineApp Mail-SeCure for the presence of malicious code, vandals  computer 
viruses.





-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Apache connectors for tomcat

2007-09-28 Thread Rainer Jung

Charlie Wingate wrote:

I'm confused.Doesn't mod_jk use ajp1.3 on the tomcat side?  Was
that with or without the native runtime library?


1) mod_jk uses the protocol AJP
2) On the Tomcat side, there is a pure Java AJP connector, and a native 
one (called APR connector). You can choose.
3) Most likly (?) Tony meant from mod_proxy_ajp to mod_jk, although I 
would not expect a big performance difference between those two.


The biggest difference between mod_jk and 
mod_proxy_ajp/mod_proxy_balancer at the moment in my opinion is


- mod_jk gets released more often because it's independantly released, 
so it's easier for us to add features and fix bugs

- mod_jk has more options to handle more complicated backend topologies
- mod_proxy_* is easier to understand for simple configurations
- mod_proxy_* has the advantage of automatically being installed on 
nearly all systems which have Apache httpd 2.2.


Regards,

Rainer


~Charlie


The significant problems we have cannot be solved at the same level
of thinking with which we created them. - Albert Einstein

-Original Message- From: Tony Anecito
[mailto:[EMAIL PROTECTED] Sent: Friday, September 28, 2007 12:56
PM To: Tomcat Users List Subject: Re: Apache connectors for tomcat

I had heard that mod_jk was faster so I switched from ajp to mod_jk
and sure enough mod_jk was 10% faster for me.

-Tony


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Apache connectors for tomcat

2007-09-28 Thread Caldarale, Charles R
 From: Tony Anecito [mailto:[EMAIL PROTECTED] 
 Subject: RE: Apache connectors for tomcat
 
 Not sure about the interface/protocol being depricated

It's mod_jk2 that has been abandoned for over two years; mod_jk is still
in very active development.  Any documentation or recommendations for
mod_jk2 are sadly out of date.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Apache connectors for tomcat

2007-09-28 Thread Tony Anecito
Thanks for the clarification.

-Tony
--- Caldarale, Charles R
[EMAIL PROTECTED] wrote:

  From: Tony Anecito [mailto:[EMAIL PROTECTED] 
  Subject: RE: Apache connectors for tomcat
  
  Not sure about the interface/protocol being
 depricated
 
 It's mod_jk2 that has been abandoned for over two
 years; mod_jk is still
 in very active development.  Any documentation or
 recommendations for
 mod_jk2 are sadly out of date.
 
  - Chuck
 
 
 THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR
 OTHERWISE PROPRIETARY
 MATERIAL and is thus for use only by the intended
 recipient. If you
 received this in error, please contact the sender
 and delete the e-mail
 and its attachments from all computers.
 

-
 To start a new topic, e-mail:
 users@tomcat.apache.org
 To unsubscribe, e-mail:
 [EMAIL PROTECTED]
 For additional commands, e-mail:
 [EMAIL PROTECTED]
 
 



   

Pinpoint customers who are looking for what you sell. 
http://searchmarketing.yahoo.com/

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Apache connectors for tomcat

2007-09-28 Thread Charlie Wingate
Mod_jk and Mod_jk2 are different animals..JK2 is deprecated.
The reason I mention it is that it is easy to assume that JK2 is the
latest and greatest given the naming convention.  Mod_jk 1.2.25 was
released late july and IS the latest in the mod_jk project; to my
knowledge anyway.

~Charlie
 
 
The significant problems we have cannot be solved at the same level of
thinking with which we created them.
  - Albert Einstein

-Original Message-
From: Tony Anecito [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 28, 2007 10:19 AM
To: Tomcat Users List
Subject: RE: Apache connectors for tomcat

Not sure about the interface/protocol being depricated
since there was just a new release of mod_jk 1.2.25?
Also, someone put some effort into improvments into it
2.2.6 of Apache.

I also noticed a 10% performance improvement in
request response times using mod_jk which I was told
about and proven for my web services implementation
using Tomcat.

Finally what to do about load balanceing if Mod_jk
goes away does someone have an answer to that?


Regards,
-Tony

--- Charlie Wingate [EMAIL PROTECTED] wrote:

 You may find this link helpful.it works if your
 using the same
 versions as the article.  But I think JK2 has been
 'deprecated'.
 

http://www.roktech.net/devblog/enclosures/iis6-Tomcat5-JK2.pdf
 
 ~Charlie
  
  
 The significant problems we have cannot be solved at
 the same level of
 thinking with which we created them.
   - Albert Einstein
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] 
 Sent: Friday, September 28, 2007 3:25 AM
 To: users@tomcat.apache.org
 Subject: Apache connectors for tomcat
 
 Hi,
 Which is the recommended connector for Apache
 now?
 mod_jk or mod_proxy_ajp (with balancer) ?
 
 rahul
 --
 1. e4 _
 
 

-
 To start a new topic, e-mail:
 users@tomcat.apache.org
 To unsubscribe, e-mail:
 [EMAIL PROTECTED]
 For additional commands, e-mail:
 [EMAIL PROTECTED]
 
 
 
 
  
  


 
 This footnote confirms that this email message has
 been scanned by
 PineApp Mail-SeCure for the presence of malicious
 code, vandals 
 computer viruses.


 
 
 
 
 
 
 

---
 This message is a CONFIDENTIAL communication.  If
 you are not the intended recipient, please do not
 read, copy, or use it, and do not disclose it to
 others.  Please notify the sender of the delivery
 error by replying to this message, and then delete
 it from your system.  Thank you.
 



 This footnote confirms that this email message has
 been scanned by
 PineApp Mail-SeCure for the presence of malicious
 code, vandals  computer viruses.



 
 
 
 

-
 To start a new topic, e-mail:
 users@tomcat.apache.org
 To unsubscribe, e-mail:
 [EMAIL PROTECTED]
 For additional commands, e-mail:
 [EMAIL PROTECTED]
 
 



 


Luggage? GPS? Comic books? 
Check out fitting gifts for grads at Yahoo! Search
http://search.yahoo.com/search?fr=oni_on_mailp=graduation+giftscs=bz

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




 
 


This footnote confirms that this email message has been scanned by
PineApp Mail-SeCure for the presence of malicious code, vandals 
computer viruses.








---
This message is a CONFIDENTIAL communication.  If you are not the intended 
recipient, please do not read, copy, or use it, and do not disclose it to 
others.  Please notify the sender of the delivery error by replying to this 
message, and then delete it from your system.  Thank you.


This footnote confirms that this email message has been scanned by
PineApp Mail-SeCure for the presence of malicious code, vandals  computer 
viruses.





-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e

Re: Apache connectors for tomcat

2007-09-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Filip,

Filip Hanik - Dev Lists wrote:
 personal preference in this order
 
 mod_proxy_http, mod_jk, mod_proxy_ajp

I'm interested: why choose mod_proxy_http over mod_jk?

- -chris

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG/SZ19CaO5/Lv0PARAsm5AJ47ndEuIqfmT9LHA27Kl17MI13lhgCggyzy
UVl1HP68RySRkjuxjAKBb9M=
=rFt2
-END PGP SIGNATURE-

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Apache connectors for tomcat

2007-09-28 Thread Tony Anecito
I had heard that mod_jk was faster so I switched from
ajp to mod_jk and sure enough mod_jk was 10% faster
for me.

-Tony

--- Christopher Schultz [EMAIL PROTECTED]
wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Filip,
 
 Filip Hanik - Dev Lists wrote:
  personal preference in this order
  
  mod_proxy_http, mod_jk, mod_proxy_ajp
 
 I'm interested: why choose mod_proxy_http over
 mod_jk?
 
 - -chris
 
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.7 (MingW32)
 Comment: Using GnuPG with Mozilla -
 http://enigmail.mozdev.org
 

iD8DBQFG/SZ19CaO5/Lv0PARAsm5AJ47ndEuIqfmT9LHA27Kl17MI13lhgCggyzy
 UVl1HP68RySRkjuxjAKBb9M=
 =rFt2
 -END PGP SIGNATURE-
 

-
 To start a new topic, e-mail:
 users@tomcat.apache.org
 To unsubscribe, e-mail:
 [EMAIL PROTECTED]
 For additional commands, e-mail:
 [EMAIL PROTECTED]
 
 



   

Building a website is a piece of cake. Yahoo! Small Business gives you all the 
tools to get online.
http://smallbusiness.yahoo.com/webhosting 

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Apache connectors for tomcat

2007-09-28 Thread Tony Anecito
Hi Charlie,
I heard that mod_jk was based off of ajp so I was
quite surprised mod_jk was faster. Not sure how to
answer your question regarding the native runtime
library since all I did was download the module file
for mod_jk and comment out the ajp proxy module.

Regards,
-Tony

--- Charlie Wingate [EMAIL PROTECTED] wrote:

 I'm confused.Doesn't mod_jk use ajp1.3 on the
 tomcat side?  Was that
 with or without the native runtime library?
 
 ~Charlie
  
  
 The significant problems we have cannot be solved at
 the same level of
 thinking with which we created them.
   - Albert Einstein
 
 -Original Message-
 From: Tony Anecito [mailto:[EMAIL PROTECTED] 
 Sent: Friday, September 28, 2007 12:56 PM
 To: Tomcat Users List
 Subject: Re: Apache connectors for tomcat
 
 I had heard that mod_jk was faster so I switched
 from
 ajp to mod_jk and sure enough mod_jk was 10% faster
 for me.
 
 -Tony
 
 --- Christopher Schultz
 [EMAIL PROTECTED]
 wrote:
 
  -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA1
  
  Filip,
  
  Filip Hanik - Dev Lists wrote:
   personal preference in this order
   
   mod_proxy_http, mod_jk, mod_proxy_ajp
  
  I'm interested: why choose mod_proxy_http over
  mod_jk?
  
  - -chris
  
  -BEGIN PGP SIGNATURE-
  Version: GnuPG v1.4.7 (MingW32)
  Comment: Using GnuPG with Mozilla -
  http://enigmail.mozdev.org
  
 

iD8DBQFG/SZ19CaO5/Lv0PARAsm5AJ47ndEuIqfmT9LHA27Kl17MI13lhgCggyzy
  UVl1HP68RySRkjuxjAKBb9M=
  =rFt2
  -END PGP SIGNATURE-
  
 

-
  To start a new topic, e-mail:
  users@tomcat.apache.org
  To unsubscribe, e-mail:
  [EMAIL PROTECTED]
  For additional commands, e-mail:
  [EMAIL PROTECTED]
  
  
 
 
 



 
 Building a website is a piece of cake. Yahoo! Small
 Business gives you
 all the tools to get online.
 http://smallbusiness.yahoo.com/webhosting 
 

-
 To start a new topic, e-mail:
 users@tomcat.apache.org
 To unsubscribe, e-mail:
 [EMAIL PROTECTED]
 For additional commands, e-mail:
 [EMAIL PROTECTED]
 
 
 
 
  
  


 
 This footnote confirms that this email message has
 been scanned by
 PineApp Mail-SeCure for the presence of malicious
 code, vandals 
 computer viruses.


 
 
 
 
 
 
 

---
 This message is a CONFIDENTIAL communication.  If
 you are not the intended recipient, please do not
 read, copy, or use it, and do not disclose it to
 others.  Please notify the sender of the delivery
 error by replying to this message, and then delete
 it from your system.  Thank you.
 


 This footnote confirms that this email message has
 been scanned by
 PineApp Mail-SeCure for the presence of malicious
 code, vandals  computer viruses.


 
 
 
 

-
 To start a new topic, e-mail:
 users@tomcat.apache.org
 To unsubscribe, e-mail:
 [EMAIL PROTECTED]
 For additional commands, e-mail:
 [EMAIL PROTECTED]
 
 



  

Don't let your dream ride pass you by. Make it a reality with Yahoo! Autos.
http://autos.yahoo.com/index.html
 



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Apache connectors for tomcat

2007-09-28 Thread Tony Anecito
Hi Rainer,

I am not sure if JBoss embedded Tomcat uses the native
ajp but a great point. Do you know how to check for
that?

Also, you need to keep in mind the scale of things. In
other words my measurements at the client side are in
the 4 millisecond range. Depending how long the data
takes to get through communications stack on the
server then to the client comm stack we might actually
only be seeing a millisecond or two at Tomcat.
Normally overall transaction improvements of a
millisecond do not matter to most people ;-)

Regards,
Tony Anecito, Founder
MyUniPortal


--- Rainer Jung [EMAIL PROTECTED] wrote:

 Charlie Wingate wrote:
  I'm confused.Doesn't mod_jk use ajp1.3 on the
 tomcat side?  Was
  that with or without the native runtime library?
 
 1) mod_jk uses the protocol AJP
 2) On the Tomcat side, there is a pure Java AJP
 connector, and a native 
 one (called APR connector). You can choose.
 3) Most likly (?) Tony meant from mod_proxy_ajp to
 mod_jk, although I 
 would not expect a big performance difference
 between those two.
 
 The biggest difference between mod_jk and 
 mod_proxy_ajp/mod_proxy_balancer at the moment in my
 opinion is
 
 - mod_jk gets released more often because it's
 independantly released, 
 so it's easier for us to add features and fix bugs
 - mod_jk has more options to handle more complicated
 backend topologies
 - mod_proxy_* is easier to understand for simple
 configurations
 - mod_proxy_* has the advantage of automatically
 being installed on 
 nearly all systems which have Apache httpd 2.2.
 
 Regards,
 
 Rainer
 
  ~Charlie
  
  
  The significant problems we have cannot be solved
 at the same level
  of thinking with which we created them. - Albert
 Einstein
  
  -Original Message- From: Tony Anecito
  [mailto:[EMAIL PROTECTED] Sent: Friday,
 September 28, 2007 12:56
  PM To: Tomcat Users List Subject: Re: Apache
 connectors for tomcat
  
  I had heard that mod_jk was faster so I switched
 from ajp to mod_jk
  and sure enough mod_jk was 10% faster for me.
  
  -Tony
 

-
 To start a new topic, e-mail:
 users@tomcat.apache.org
 To unsubscribe, e-mail:
 [EMAIL PROTECTED]
 For additional commands, e-mail:
 [EMAIL PROTECTED]
 
 



  

Check out the hottest 2008 models today at Yahoo! Autos.
http://autos.yahoo.com/new_cars.html

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Apache connectors for tomcat

2007-09-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Tony,

Tony Anecito wrote:
 I heard that mod_jk was based off of ajp so I was
 quite surprised mod_jk was faster.

Yes, mod_jk does use the AJP protocol. Why were you surprised that it
was faster? With what are you comparing it?

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG/VfY9CaO5/Lv0PARAjvKAJ9sZhZby/qVSlh/NMbnyxpfjbbkuwCgnFiZ
MSudRIHxnN741iQm0jpYDCc=
=DDyM
-END PGP SIGNATURE-

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Apache connectors for tomcat

2007-09-28 Thread Tony Anecito
Hi Chris:

1. I am instrumenting inside the servlet code, looking
at Apache web server logs then at the Rich Internet
Application (RIA)

For a typcial request for my Portal from client to
servlet for example:

1. 4.55msec inside the RIA java code after the data
was read from the SOAP message.

2. 0 microseconds read in the Apache Web Server logs

3. Under a microsecond in the servlet code for the
service method.

I have a multi-tier caching system so most of the
request/responses are under 1500 bytes or the size of
a single packet. Even if there is a cache miss most of
the requests are still under 1500 bytes after
compression by JAXWS web service code.

Hope that helps.
Tony Anecito, Founder
MyUniPortal

--- Christopher Schultz [EMAIL PROTECTED]
wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Tony,
 
 Tony Anecito wrote:
  I am not sure if JBoss embedded Tomcat uses the
 native
  ajp but a great point. Do you know how to check
 for
  that?
 
 Since JBoss uses Tomcat, it can use any of the
 standard connectors
 available for it (basically HTTP(s) and/or AJP).
 
  Also, you need to keep in mind the scale of
 things. In
  other words my measurements at the client side are
 in
  the 4 millisecond range. Depending how long the
 data
  takes to get through communications stack on the
  server then to the client comm stack we might
 actually
  only be seeing a millisecond or two at Tomcat.
 
 Huh? I thought you were instrumenting your code
 within Tomcat resulting
 in 4ms transaction times, and you now wanted to know
 how much overhead
 was being added (on top of that) to the transaction
 by the other
 components. Is that not the case?
 
  Normally overall transaction improvements of a
  millisecond do not matter to most people ;-)
 
 Actually, if your transactions are taking 4ms and
 you can shave off 1ms,
 then that's a 25% performance improvement. If your
 transactions are
 taking 300ms, perhaps 1ms isn't that big of a deal.
 
 - -chris
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.7 (MingW32)
 Comment: Using GnuPG with Mozilla -
 http://enigmail.mozdev.org
 

iD8DBQFG/Vek9CaO5/Lv0PARAkIBAJ0eGaHoEU+wDdEOYT4pXtvVOvUMhQCfWhXP
 60oVc48I2SGWCqZHXVk4B0o=
 =WYdf
 -END PGP SIGNATURE-
 

-
 To start a new topic, e-mail:
 users@tomcat.apache.org
 To unsubscribe, e-mail:
 [EMAIL PROTECTED]
 For additional commands, e-mail:
 [EMAIL PROTECTED]
 
 



  

Tonight's top picks. What will you watch tonight? Preview the hottest shows on 
Yahoo! TV.
http://tv.yahoo.com/ 


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]