Skip to content

bclayton-usgs/example-micronaut

 
 

Repository files navigation

example-micronaut

This is an example of Micronaut app generated by https://micronaut.io/launch with crac feature included.

Building

gradle assemble

Running

Please refer to README for details.

Preparing the image

  1. Run the JDK in the checkpoint mode
$JAVA_HOME/bin/java -XX:CRaCCheckpointTo=cr -jar build/libs/demo-0.1-all.jar
  1. Warm-up the instance
siege -c 1 -r 100000 -b http://localhost:8080/hello/test
  1. Request checkpoint
jcmd build/libs/demo-0.1-all.jar JDK.checkpoint

Restoring

$JAVA_HOME/bin/java -XX:CRaCRestoreFrom=cr

Micronaut 3.8.7 Documentation


Feature http-client documentation

Feature crac documentation

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%