• web browser timeout - slow server

    From Mike Scott@2:250/1 to All on Tuesday, December 03, 2024 19:27:46
    I've just run full tilt into an unexpected problem.

    I have a web server that calculates a number (perhaps 10 - 100 or
    potentially more) of images and delivers a zip file for download.

    I'm now finding the browser is timing out and resending the form data.
    It's been causing obscure download errors. The zip file takes maybe a
    minute or more to calculate even for smallish test requests.

    I'd not anticipated any such timeout, so feel up the proverbial gumtree.
    A web interface seemed a natural way to go as an extension of an
    existing system, but the image calculation is what it is, and won't
    speed up much.

    Does anyone have any thoughts on a way out of this please? Downloading
    the images a few at a time isn't really acceptable!

    Thanks.


    --
    Mike Scott
    Harlow, England

    --- MBSE BBS v1.1.0 (Linux-x86_64)
    * Origin: Scott family (2:250/1@fidonet)
  • From Lawrence D'Oliveiro@2:250/1 to All on Tuesday, December 03, 2024 20:45:04
    On Tue, 3 Dec 2024 19:27:46 +0000, Mike Scott wrote:

    A web interface seemed a natural way to go as an extension of an
    existing system, but the image calculation is what it is, and won't
    speed up much.

    Obviously you need to provide some feedback while putting together the complete download in the background. Only when that is ready should you actually redirect the browser to the URL to get the complete archive.

    --- MBSE BBS v1.1.0 (Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)