Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1082199]
help
Chatterbox?
[choroba]: BTW, both the bands I play in performed on Friday (at the same event). Quite an exhausting experience.
[Corion]: choroba: Ooof! I can imagine that ;)
[Corion]: I think at a Perl workshop some years ago I gave two talks on the same day and after that decided to only submit one talk per event ;)
[LanX]: you play the triangle, right?

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (9)
As of 2017-03-27 11:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (319 votes). Check out past polls.