On 3/26/07, Russ wrote:
> What actually happens is mod_jrun passes the request to the jrun connector.
> If it is a cfm file or some other file that JRUN handles, then JRUN returns
> true, and handles the request.  If it's a file that JRUN doesn't handle,
> then it returns false, and apache looks for another module that can handle
> the request.
>
> You can see this in action if you enable the verbose logging.

Well, it looks like the first time the connector loads, it checks for JRun,
and loads the file types jrun will handle.  Only the first time tho, as
if I start the httpd service and CF isn't running, there is the delay before
anything is served (the connector hits the specified wait period, and
then throws an error), but if I stop CF after starting both JRun and the
httpd service, there is no error, as the connector doesn't even bother
to try to contact JRun for a non-mapped (in this example, a .gif)
resource, if it already knows what JRun will/won't handle (from that
initial request while it was running, before I shut it off).

That's better, actually, since I really don't want JRun to handle every
freaking request.  That would pretty much defeat a major benefit of
using a real webserver, versus one that hands *everything* off to JRun.

(And Dave, I didn't see a * mapping, only *.[cf] stuff, so I wonder if there
is a way to get rid of that initial check of the JRun connector for any
content (including images)... I sorta doubt it, as I'm thinking that's more
the connector/httpd than JRun/CF... probably something do do with
using a "handler" vs. a proxy? Yeah...)

I think I'm starting to understand the connector better.  Yup.  Fo sho.
This tomcat/jboss experience has been an eye opener!

Wooters!
  *      *      *
If anyone wants to recommend a good load tester, I'd be happy to
compare some stuff... I'm curious now to see how the different types
of connecting to CF perform... and jboss/tomcat vs. jrun...  static
content mixed with dynamic...

Selenium I'm using within FireFox to do automated tests, (which kick
ass, btw!  Thanks to whoever mentioned that software!
http://www.openqa.org/selenium-ide/ ) perhaps the full deal does real
load testing... I'll have to take a gander.  Still, any suggestions are
always appreciated....  (load testing, unit testing, what have you...)

Thanks

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade & see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273809
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to