Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Speeding up external command execution

by basiliscos (Monk)
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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (9)
As of 2014-10-22 22:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (122 votes), past polls