News for hackers. Stuff that matters.
Re:Why Clojure? (2010) by edem on Friday December 30, 2016 @05:35AM (#13283701)
I was not interested in that either until I had to start Java processes by hand. The initial version ran for 5 minutes. I then refactored the app to be a long running service instead of a fire-and-forget app and the run time changed from 300 seconds to 300 microseconds!
Re:Why Clojure? (2010) by sgift on Friday December 30, 2016 @05:53AM (#13283752)
Five minutes? Ouch .. when I think of "slow" start of Java processes it is more in the range of 5 to 10 seconds. Maybe a minute tops for an application server, but five minutes sounds ugly. Especially when it is all just start time.
Re:Why Clojure? (2010) by edem on Friday December 30, 2016 @07:34AM (#13284059)
Startup of a single JVM was around 10secs but I had to start up a JVM for each operation (think of it like a JUnit test suite from the command line). If you have several of these processes the whole thing is no longer O(1) but O(n) and you begin to see the JVM startup overhead.