> They are probably much less interested in using these methods for long-running server processes.
At work, we were quite interested in making a native-image of our API server recently. Having a fast boot would have opened a lot more possibilities around where we could run it. Serverless environments like AWS Lambda, Google Cloud Run, Google App Engine Standard, and other places that boot in response to a request were not even close to workable with our moderately sized Clojure API server. We did some experiments with making a native-image, but there were too many libraries that needed to be updated to do it now. We're going to chip away at making our dependencies native-image compatible and then have another crack later. Bruno Bonacci has a collection of sample apps at https://github.com/BrunoBonacci/graalvm-clojure showing how to build various libraries and highlighting where there are issues currently. On Wed, Nov 13, 2019 at 7:06 PM Andy Fingerhut <andy.finger...@gmail.com> wrote: > I believe at least some of the people working on this, and interested in > these results, would like to use Clojure for command line utilities and > such, which tend to have quite short run times when implemented in > C/C++/Python/etc. They are probably much less interested in using these > methods for long-running server processes. > > Andy > > On Tue, Nov 12, 2019 at 8:46 PM 'Gerard Klijs' via Clojure < > clojure@googlegroups.com> wrote: > >> Hello world is fun, but doesn't say much. I would like to see benchmarks >> on the actual application. Ideally it would take several jvm's so also >> Graal and J9 and also use the commercial version of making a native image, >> asses how much memory is needed when run on the JVM and limit that, since >> otherwise it will might take upto a quarter of available memory. Measures >> both the time to the first successful handled request from startup, the max >> throughput after being warmed up properly, the .99 percentile latency after >> being warmed up, and the memory use. >> Only if you have those numbers you could decide if a native image is >> worth it. For example if with the current load one instance with a native >> image could always handle the load, it might save a lot, because you can >> and to 0, where the total first request just take seconds. But if at loyal >> moments with a native image you need 30 instances, while on the JVM you >> need only 3 it might not. >> >> -- >> You received this message because you are subscribed to the Google >> Groups "Clojure" group. >> To post to this group, send email to clojure@googlegroups.com >> Note that posts from new members are moderated - please be patient with >> your first post. >> To unsubscribe from this group, send email to >> clojure+unsubscr...@googlegroups.com >> For more options, visit this group at >> http://groups.google.com/group/clojure?hl=en >> --- >> You received this message because you are subscribed to the Google Groups >> "Clojure" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to clojure+unsubscr...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/clojure/bcc8f1d8-db0a-45f0-9d95-d280ae653fcc%40googlegroups.com >> . >> > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to clojure@googlegroups.com > Note that posts from new members are moderated - please be patient with > your first post. > To unsubscribe from this group, send email to > clojure+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en > --- > You received this message because you are subscribed to the Google Groups > "Clojure" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to clojure+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/clojure/CAKvLtDYgqxifgtagXKr192Dozhq3tG8oN%3D%3DjTBjXPbDO41PAkg%40mail.gmail.com > <https://groups.google.com/d/msgid/clojure/CAKvLtDYgqxifgtagXKr192Dozhq3tG8oN%3D%3DjTBjXPbDO41PAkg%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/clojure/CAK2UX_jshpUYj_ExTnKu3hLphAYojyY0undD525rk6vxjcbH_g%40mail.gmail.com.