Skip to content

Latest commit

 

History

History
38 lines (27 loc) · 1.06 KB

README.md

File metadata and controls

38 lines (27 loc) · 1.06 KB

RSocket GraalVM Native image demo

Requirements

How to run

$ # switch to GraalVM 21.0.0
$ mvn -Pnative -DskipTests clean package 
$ ./target/rsocket-graal-demo
$ # open a new tab
$ rsc tcp://localhost:42252 --request --route request-response -d Jackie --debug

Native assist

Please refer: https://www.graalvm.org/reference-manual/native-image/BuildConfiguration/#assisted-configuration-of-native-image-builds

Compress executable binary with upx

Compress GraalVM native image binary with upx:

$ upx -7 -k target/rsocket-graal-demo 

References