Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Re: Speeding up external command execution

by basiliscos (Pilgrim)
on Apr 14, 2014 at 08:08 UTC ( #1082199=note: print w/replies, xml ) Need Help??

in reply to Speeding up external command execution

Java is notorious for it's slow startup. If you execute java hepler for some web-applications from user requests, it could be performance killer for your application (e.g. as I think, if you run 10 java instances in simultaneously)

So, if you have access to java-sources and know java a little bit, to rewrite your helper as network daemon, listening local interface and communicate with it via sockets. At least problem with "startup overhead", which you attribute to perl, will disappear.

  • Comment on Re: Speeding up external command execution

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1082199]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2018-03-19 03:34 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (232 votes). Check out past polls.