Thanks * I'll try new relic then to get some more incite * re authentication I'm using authlogic so in fact after initial authentication it should use session cookies. However authlogic does store sessions in database.. * re number of images etc and mongrel cluster, I'm only testing with one mongrel, however I am here looking at per request stats * re authenticating via apache: if I knew how I could do this, bit have it integrated with my apps user provioning I'd look at this. Any leads here? I couldn't find anything when I looked.
Thanks On Dec 17, 4:00 am, sax <[email protected]> wrote: > Are you re-checking authentication for each image? Could you find some > way to authenticate only once for all of your resources? Perhaps use > Basic or Digest authentication for your images, and then somehow tie > the password to the current session? If you can remove unnecessary > database hits, you may be able to shave off some ms. You may add a few > ms for HTTP authentication, though, so I'd take a close look. > > Are you using a mongrel cluster? If this is all going through one > mongrel instance, it's only handling one request at a time. Switching > to passenger may help, as it can spawn new instances to handle > simultaneous requests (depending on settings and your server's > memory). > > On Dec 16, 8:02 am, Hassan Schroeder <[email protected]> > wrote: > > > > > On Tue, Dec 15, 2009 at 11:13 PM, greghauptmann > > > <[email protected]> wrote: > > > PS. On average each request is about 3000ms to 5000ms when being > > > served by RoR (authlogic/paperclip), as opposed to about 160ms for the > > > same content but put directly under /public. I'm using mongrel. > > > You can get a lot more specifics about what's happening time-wise > > by installing the NewRelic monitoring plugin (http://newrelic.com/). > > > Highly recommended. > > > -- > > Hassan Schroeder ------------------------ [email protected] > > twitter: @hassan -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

