Skip to content

reactive-rsocket-broker/rsocket-graal-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Languages