On Mon, 15 Oct 2007 16:43:34 -0700
"Brian Williams" <[EMAIL PROTECTED]> wrote:

> We recently ran into exactly this issue.  Some rails requests were making
> external requests that were taking 5 minutes (networking issues out of our
> control).

Now that's a design flaw.  If you're expecting the UI user to wait for a 
backend request that takes 5 minutes then you need to redesign the workflow and 
interface.  Do it like asynchronous email where the use "sends a request", 
"awaits a reply", "reads the reply", and doesn't deal with the backend 
processing chain of events.

If done right, you'll even get a performance boost and you can distribute the 
load of these requests out to other servers.  It's also a model most users are 
familiar with from SMTP processing.

-- 
Zed A. Shaw
- Hate: http://savingtheinternetwithhate.com/
- Good: http://www.zedshaw.com/
- Evil: http://yearofevil.com/
_______________________________________________
Mongrel-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/mongrel-users

Reply via email to