durusmail: quixote-users: How do you handle long running requests?
How do you handle long running requests?
2003-07-18
2003-07-18
Re: How do you handle long running requests?
2003-07-18
2003-07-18
2003-07-18
2003-07-18
2003-07-19
2003-07-18
2003-07-19
Graham Fawcett (5 parts)
2003-07-20
2003-07-21
2003-07-21
2003-07-18
How do you handle long running requests?
Mark Bucciarelli
2003-07-18
On Thursday 17 July 2003 8:07 pm, Jason Sibre wrote:

> I haven't run into this scenario yet with Quixote, but I'm
> anticipating it based on prior experience with other web publishing
> techniques.
>
> Does anyone have any Quixote specific tips/experiences that could
> be helpful in handling long running requests in Quixote?  I'm
> talking about requests that for some reason or another (perhaps a
> long-running DB query) take a long time to get handled (maybe 30
> seconds or so).

Don't allow DB queries that take 30 seconds.  :)

Seriously, it's easier to implement than threads.  Way easier to test
and validate.  (Writing unit tests for a a threaded application is a
pain.)

I'm curious about when you have run into this in the past ...

--
Mark Bucciarelli, www.hubcapconsulting.com
    He who receives an idea from me, receives instruction himself
without lessening mine; as he who lights his taper at mine receives
light without darkening me.   -- Thomas Jefferson


reply