Re: [rt-users] nginx / varnish / apache with RT?
On Tue, Aug 6, 2013 at 12:15 PM, Asif Iqbal wrote: > care to share your nginx/fascgi config ? I am seeing one in the > http://bestpractical.com/docs/rt/latest/web_deployment.html#nginx > as a start. > I used that from doc with an exception of adding some ssl options and adding fastcgi_param HTTPS on; It works pretty well. And then I found Ruslan has a cool nginx extension in github. I tried that and it works too except I do not see an option to run in ssl mode. -- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing?
Re: [rt-users] nginx / varnish / apache with RT?
On Tue, Aug 6, 2013 at 8:53 AM, k...@rice.edu wrote: > On Tue, Aug 06, 2013 at 09:04:25PM +1000, Chris Herrmann wrote: > > Hi all, > > > > i've been playing with an NVA setup for some lamp sites (Joomla) and the > > scaling is looking pretty amazing... still early days but initial results > > look very promising. > > > > anyway, it got me thinking to whether varnish would work with RT. I'm > > familiar enough with it to understand the generic accelerator principle > ... > > but I don't see how it would work with generated content - because of RT > > handles sessions / authentication / etc. Or is it smart enough to know > that > > if I visit the same ticket twice in a row and the ticket hasn't changed, > to > > give me cached content? > > > > I've tried searching for "perl varnish" and "request tracker varnish" > type > > pages but have only found one archive thread > > http://www.gossamer-threads.com/lists/rt/users/72455 which appears > > inconclusive - does it actually make a noticeable difference or not? > > Internally we're using a squid proxy, and we have a small number of > users, > > so not sure that the static page elements being handled by varnish or > nginx > > would offer a huge advantage? anyway keen to hear people's experiences or > > other thoughts on accelerating RT... > > > > Cheers, > > > > Chris > > Hi Chris, > > We have tried nginx/fastCGI both with and without nginx caching the static > content. The biggest win was just moving from Apache/mod_perl to the nginx/ > fastCGI. It made RT much more scalable and allowed us to manage its > resource > allocation better. I do not think that varnish would do anything except add > complexity to the setup. > care to share your nginx/fascgi config ? I am seeing one in the http://bestpractical.com/docs/rt/latest/web_deployment.html#nginx as a start. > Regards, > Ken > -- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing?
Re: [rt-users] nginx / varnish / apache with RT?
On Tue, Aug 06, 2013 at 09:04:25PM +1000, Chris Herrmann wrote: > Hi all, > > i've been playing with an NVA setup for some lamp sites (Joomla) and the > scaling is looking pretty amazing... still early days but initial results > look very promising. > > anyway, it got me thinking to whether varnish would work with RT. I'm > familiar enough with it to understand the generic accelerator principle ... > but I don't see how it would work with generated content - because of RT > handles sessions / authentication / etc. Or is it smart enough to know that > if I visit the same ticket twice in a row and the ticket hasn't changed, to > give me cached content? > > I've tried searching for "perl varnish" and "request tracker varnish" type > pages but have only found one archive thread > http://www.gossamer-threads.com/lists/rt/users/72455 which appears > inconclusive - does it actually make a noticeable difference or not? > Internally we're using a squid proxy, and we have a small number of users, > so not sure that the static page elements being handled by varnish or nginx > would offer a huge advantage? anyway keen to hear people's experiences or > other thoughts on accelerating RT... > > Cheers, > > Chris Hi Chris, We have tried nginx/fastCGI both with and without nginx caching the static content. The biggest win was just moving from Apache/mod_perl to the nginx/ fastCGI. It made RT much more scalable and allowed us to manage its resource allocation better. I do not think that varnish would do anything except add complexity to the setup. Regards, Ken
Re: [rt-users] nginx / varnish / apache with RT?
Am Tue, 6 Aug 2013 21:04:25 +1000 schrieb Chris Herrmann : > Hi all, > > i've been playing with an NVA setup for some lamp sites (Joomla) and > the scaling is looking pretty amazing... still early days but initial > results look very promising. > > anyway, it got me thinking to whether varnish would work with RT. I'm > familiar enough with it to understand the generic accelerator > principle ... but I don't see how it would work with generated > content - because of RT handles sessions / authentication / etc. Or > is it smart enough to know that if I visit the same ticket twice in a > row and the ticket hasn't changed, to give me cached content? > > I've tried searching for "perl varnish" and "request tracker varnish" > type pages but have only found one archive thread > http://www.gossamer-threads.com/lists/rt/users/72455 which appears > inconclusive - does it actually make a noticeable difference or not? > Internally we're using a squid proxy, and we have a small number of > users, so not sure that the static page elements being handled by > varnish or nginx would offer a huge advantage? anyway keen to hear > people's experiences or other thoughts on accelerating RT... I have no experience running RT with NGNIX (only installed it as proof-of-concept once), but from what I can remember, it's serving all the static files directly (if you follow the documentation, you don't even need Apache anymore) and maybe also cached data. I sincerely doubt you'd hit a scalabilty-wall in NGINX before running out of CPU for the spawn-fcgi perl processes. Adding varnish to the mix looks to me like a wasted effort (if you serve RT over SSL, you'd need NGINX in front of it, again, because varnish does not do SSL at all).
[rt-users] nginx / varnish / apache with RT?
Hi all, i've been playing with an NVA setup for some lamp sites (Joomla) and the scaling is looking pretty amazing... still early days but initial results look very promising. anyway, it got me thinking to whether varnish would work with RT. I'm familiar enough with it to understand the generic accelerator principle ... but I don't see how it would work with generated content - because of RT handles sessions / authentication / etc. Or is it smart enough to know that if I visit the same ticket twice in a row and the ticket hasn't changed, to give me cached content? I've tried searching for "perl varnish" and "request tracker varnish" type pages but have only found one archive thread http://www.gossamer-threads.com/lists/rt/users/72455 which appears inconclusive - does it actually make a noticeable difference or not? Internally we're using a squid proxy, and we have a small number of users, so not sure that the static page elements being handled by varnish or nginx would offer a huge advantage? anyway keen to hear people's experiences or other thoughts on accelerating RT... Cheers, Chris