20 messages in ru.sysoev.nginxRe: AJP Support
FromSent OnAttachments
Stephen Nelson-SmithJun 23, 2008 2:33 am 
Manlio PerilloJun 23, 2008 3:32 am 
Igor SysoevJun 23, 2008 12:42 pm 
Stephen Nelson-SmithJun 23, 2008 11:54 pm 
Igor SysoevJun 23, 2008 11:59 pm 
Stephen Nelson-SmithJun 24, 2008 12:11 am 
Igor SysoevJun 24, 2008 12:22 am 
mikeJun 24, 2008 12:26 am 
Stephen Nelson-SmithJun 24, 2008 3:45 am 
Henrik VendelboJun 24, 2008 4:02 am 
Igor SysoevJun 24, 2008 4:03 am 
Stephen Nelson-SmithJun 24, 2008 4:16 am 
Igor SysoevJun 24, 2008 5:23 am 
Phillip B OldhamJun 24, 2008 5:46 am 
Paul DekkersJun 24, 2008 5:51 am 
Stephen Nelson-SmithJun 24, 2008 9:56 am 
Stephen Nelson-SmithJun 24, 2008 11:31 pm 
Dan MJun 25, 2008 12:52 pm 
Cliff WellsJun 26, 2008 11:40 am 
Igor SysoevJun 26, 2008 12:20 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: AJP SupportActions...
From:Stephen Nelson-Smith (sane@public.gmane.org)
Date:Jun 24, 2008 9:56:20 am
List:ru.sysoev.nginx

Hi,

OK. I guess I could just have nginx balance the http traffic and have use tomcat's http server rather than passing through ajp13 traffic.

Just a curiosity: do you think this (nginx to tomcat via http) would be faster than using apache 2.2 with mod_proxy_ajp?

I don't know. I do know from my experiences with nginx that throughput on some of my other sites has been much greater, with fewer resources being needed.

I also know that my current setup isn't performing as well as I like.

I've heard very good reports about how quickly Tomcat can serve http responses. There's no static content - it's all dynamically generated. So it seems to me that nginx is the fastest and most resource effective way of balancing http traffic over my pool of tomcat servers.

I'm making some fairly big assumptions around how sessions are handled, but I've not seen problems with rails, so I'd expect the same experience with Java.

I'm not sure, but there's probably a reason for using AJP instead of http there ;-)

Hehe, in my case, when I took over the site it used Apacke and mod_jk. I've upgraded the systems and we have carried on with the apache/ajp/tomcat approach. I'm looking at alternatives now.

If nginx with http would be better/faster, that would be very interesting indeed.

It would indeed, I will, of course, do some benchmarks and tests first, and report back.

S.