On Wednesday, September 14, 2016 at 6:03:57 PM UTC+1, Evan Meagher wrote: > > More generally, it's not uncommon for server programs on the JVM to > benefit from some initial "warmup" workload to allow for classloading, JIT > compilation, and other runtime optimizations to kick in before serving > external traffic. A good way to go about doing this is to send a series of > warmup > requests <https://cloud.google.com/appengine/docs/java/warmup-requests/> > through the application before opening the server port to external traffic. >
You can set the JVM to JIT compile more aggresively: -XX:CompileThreshold=1 Beware though, that the overall performance will be lower than if you let it warm up with the default number of iterations, as it gathers stats to optimize itself. Also, write your own warm up routine as suggested. > -- You received this message because you are subscribed to the Google Groups "dropwizard-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
