Our case for requesttimeout is very similar to Alan H's. I looked into our usages of it and they primarily fall into two buckets:
1. Administrative / Reporting - We have some CFMs / CFCs that are run nightly to generate reports, clean various things up, etc. Each request can consist of multiple cfqueries and digging through those large data sets. So setting a timeout on individual cfqueries etc won't work. Currently the requesttimeout is increased to the sum total of all of those operations. Thinking about this a bit we could potentially refactor to use cfthread, but currently we actually log the response written back from the server, so some work would need to be done there. 2. Synchronous SOAP services. We have a few APIs that are exposed via SOAP, which are written as CFCs internally. Some of the requests into these CFCs take quite a while to complete, since you can pass in arbitrarily sized data sets. Optimally they'd be in a different engine but for now they're CFCs. So we increase the request timeout on those CFCs to account for this. That said, we've yet to find a way to set a global request timeout in OpenBD/JBoss 4.2.3 (aside from setting one in Apache/mod_jk), and without that, there is nothing to "increase" with with a per request "reqeusttimeout" ;). I just wanted to provide a bit of input on our usage and how we could/would use requesttimeout if possible. So I suppose the argument would be for supporting both a global request timeout and a per request timeout in OpenBD, similar to what is in Coldfusion. Just our two cents. Thanks for chiming in! Thanks, Richard Taylor PIER Systems, Inc. On Feb 10, 2:24 pm, Alan Williamson <[email protected]> wrote: > interesting. > > Its something that sounds easy, but could be quite 'hard' as it could > leave a lot of things in a undeterminate state. > > What could hold things up? > > Surely if its a CFHTTP you can add a timeout, or a database, then you > set the maximum time a query has to run before the pool removes it. > > So taking that out of the equation, help me understand what other areas > you would want to catch for? Give me an example please? > > Alan Holden wrote: > > I would just like to add my vote of importance to this point: > > > Being able to place something like <cfsetting requesttimeout="3600"> > > at the top of just one CF page, without casting some global > > requirement outside OpenBD, that allows any one of my CF pages > > to tie up a process for this long as well. > > > My apologies if I misinterpreted this thread. > > --~--~---------~--~----~------------~-------~--~----~ Open BlueDragon Public Mailing List http://groups.google.com/group/openbd?hl=en official site @ http://www.openbluedragon.org/ !! save a network - trim replies before posting !! -~----------~----~----~----~------~----~------~--~---
