perl - What if the run time gets dwarfed by the compile time? -
there may situations compilation process takes more time program's run time. should 1 in circumstances?
if consider cgi scripts may called hundreds or thousands of times every minute above problem may occur. how avoid these problems? can't skip compilation process. how deal such situations?
if looking @ perl-based cgi scripts, consider using mod_perl or fastcgi, address exact issue (among others).
a more generic way of doing same thing build sort of "server" application loads once , listen client connections. clients can small lightweight processes connect server , ask server perform whatever work needed.
Comments
Post a Comment