RSocket GraalVM native image demo
$ # 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
Please refer: https://www.graalvm.org/reference-manual/native-image/BuildConfiguration/#assisted-configuration-of-native-image-builds
Compress GraalVM native image binary with upx:
$ upx -7 -k target/rsocket-graal-demo