Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^3: Perl needs Zend

by perrin (Chancellor)
on Oct 23, 2006 at 14:20 UTC ( [id://580047]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Perl needs Zend
in thread Perl needs Zend

There are discussions on this all over, including PM. I wrote a bit here on the Catalyst list. For a long time, FastCGI had too small a userbase for me to consider it a good choice. That changed somewhat with Ruby on Rails, which often uses FastCGI, but now there's a vocal movement among them to ditch FastCGI, claiming it has insurmountable problems. (I think they're exaggerating, but since I don't run Rails...)

One thing that might be relevant to you is Win32 support. With Apache 2 and mod_perl 2, Windows support is pretty good and up-to-date binaries are available. Last time I looked for the FastCGI support on Windows, it was not in good shape, but that was a few years back so it may have changed.

Replies are listed 'Best First'.
Re^4: Perl needs Zend
by BrowserUk (Patriarch) on Oct 23, 2006 at 18:49 UTC

    Thanks. The problem I am looking at will

    1. Run under Apache on unix. (Not sure which flavour.)
    2. Has a fairly substantial loadtime component (data) that would best persist.
    3. Has a requirement to persist a fairly substantial amount of relatively expensively generated results between successive requests.
    4. Takes a fairly substantial amount of time (circa 1 second) to generate those results.
    5. Little or no need for most phases of the Apache API. (No authentication or authorisation needs for example).

    On the basis of the feedback to my question (shmem and others), I'm leaning towards a FastCGI Server solution. But I've still done nothing but read about it, so all feedback, especially from those with your in depth knowledge of a subject about which I know precious little, is much appreciated.


    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

      None of the requirements you listed would influence a decision toward one or the other, in my opinion. You might just want to do a quick try at setting up each one and see which one you find easier to deal with.

      One thing you should consider with mod_perl is that the recommended setup for sites that need scalability is to run a reverse proxy in front to handle static and cached content, with an apache in back that just does mod_perl. The reasons for this are described pretty well in the docs. FastCGI essentially does this for you.

        I'll continue reading for while yet :)


        Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
        Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
        "Science is about questioning the status quo. Questioning authority".
        In the absence of evidence, opinion is indistinguishable from prejudice.
      Thanks. The problem I am looking at will
      1. Run under Apache on unix. (Not sure which flavour.)

      Will you be running a problem? Now, that's nasty! ;-)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://580047]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (3)
As of 2024-04-18 23:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found