Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

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 browsing the Monastery: (6)
As of 2017-06-27 17:53 GMT
Find Nodes?
    Voting Booth?
    How many monitors do you use while coding?

    Results (611 votes). Check out past polls.