This is a common problem.

The user will be patient for about 20-30 seconds if you warn them about this in advance. Without any warning at all, the folks will just give up and cancel the browser session if the time goes past that. That frustrates everybody! They are angry and this burned a lot of Mips on your server to no result. Everybody is mad.

The idea of not producing a result at all is bad! WOW!
That is an incredibly bad idea!
Your program should produce a result, even if that result is "I can't produce a result".

I sometimes work with some large DB's on line, like the FCC, U.S. Federal Communications Commission (FCC.gov). I can submit a complex DB query and I give them an email to send the reply to. After maybe 30 minutes, I get a URL via email that allows me to download my results. That URL and the data "expires" after some amount of time (24-48 hours or so). This idea works very well for complicated things.

Of course the best thing is to be performant and generate a quick response, but that is not always possible.


In reply to Re: Best practice for sending results to a user via email by Marshall
in thread Best practice for sending results to a user via email by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.