Re: Startup time of standalone .jar executable

2017-03-21 Thread Didier
To answer your question, yes, ClojureScript startup times would be as fast as booting a shell command, a python script, etc. To this end, you can use Planck like previously suggested, but I would recommend Lumo over it: https://github.com/anmonteiro/lumo Lumo is a standalone ClojureScript inter

Re: Startup time of standalone .jar executable

2017-03-21 Thread Mark Stang
Depending what the processing is, ClojureScript could be a viable option. As I mentioned earlier, "planck" has fast start times. https://github.com/mfikes/planck On Tue, Mar 21, 2017 at 11:42 AM, Duncan McGreggor wrote: > Has the application owner defined an interface for long-running > compon

Re: Startup time of standalone .jar executable

2017-03-21 Thread Duncan McGreggor
Has the application owner defined an interface for long-running components? If not, maybe convince them to. Then they could just (.start yourCode) and then make whatever API calls you have defined, with zero start-up costs per-call from their side. (This is what I do when integrating non-Clojure .

Re: Startup time of standalone .jar executable

2017-03-21 Thread Luke Burton
There isn't enough information here to really recommend a fix. But here are some general thoughts: * If you're wondering whether there's a magic --fast-mode flag to make this problem go away, no, there is not. * Can you make this a whole lot faster? Probably, yes, but it will involve a lot o

Re: Startup time of standalone .jar executable

2017-03-21 Thread John Gabriele
On Tuesday, March 21, 2017 at 11:24:20 AM UTC-4, Michael Lindon wrote: > > I wrote a collaborator some clojure code which I distributed to them as a > standalone jar file which they are executing with > > java -jar mystandalone.jar > > The problem is that this executable is called a great many ti

Re: Startup time of standalone .jar executable

2017-03-21 Thread Mark Stang
Planck? On Tue, Mar 21, 2017 at 9:24 AM, Michael Lindon wrote: > I wrote a collaborator some clojure code which I distributed to them as a > standalone jar file which they are executing with > > java -jar mystandalone.jar > > The problem is that this executable is called a great many times in th

Startup time of standalone .jar executable

2017-03-21 Thread Michael Lindon
I wrote a collaborator some clojure code which I distributed to them as a standalone jar file which they are executing with java -jar mystandalone.jar The problem is that this executable is called a great many times in their application and every time the executable is called there is a java/