in reply to Re: Re: Re: CGI script on cluster server
in thread CGI script on cluster server

Peter,

I know this is beyond the normal discussions round here, but it's an application of Perl that I'm sure I'm not the only one involved in. Plus, there aren't that many other communities around like this one that would help.

So a failover won't be transparent to a user if it occurs while they are waiting for a response from a CGI script that they've just submitted a form to? Ie. They get a page timeout and must hit refresh to resubmit the request?

A
  • Comment on Re: Re: Re: Re: CGI script on cluster server

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: CGI script on cluster server
by blue_cowdawg (Monsignor) on Jul 30, 2003 at 16:29 UTC

        So a failover won't be transparent to a user if it occurs while they are waiting for a response from a CGI script that they've just submitted a form to?

    I'm willing to be educated, but every clustering mechanism I have seen (including VMS clustering) suffers from this problem. There just ain't any way for a node in a cluster to pick up mid CPU cycle on an executing program.


    Peter @ Berghold . Net

    Sieze the cow! Bite the day!

    Test the code? We don't need to test no stinkin' code! All code posted here is as is where is unless otherwise stated.

    Brewer of Belgian style Ales

      Do I still need to set up my script as a cluster resource though?

      A

        I honestly wouldn't bother since CGI programs are transient nature with respect to their life cycle on a cluster node.

        The server serving CGI scripts is another matter.


        Peter @ Berghold . Net

        Sieze the cow! Bite the day!

        Test the code? We don't need to test no stinkin' code! All code posted here is as is where is unless otherwise stated.

        Brewer of Belgian style Ales