https://github.com/jauntsdn/messagestreams-virtualthreads-examples
https://github.com/jauntsdn/messagestreams-virtualthreads-examples
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/jauntsdn/messagestreams-virtualthreads-examples
- Owner: jauntsdn
- Created: 2023-05-19T16:40:21.000Z (about 3 years ago)
- Default Branch: feature/oss
- Last Pushed: 2025-03-28T20:12:14.000Z (about 1 year ago)
- Last Synced: 2025-03-28T20:28:17.535Z (about 1 year ago)
- Language: Java
- Size: 124 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

[](https://github.com/jauntsdn/messagestreams-virtualthreads-examples/actions/workflows/ci-build.yml)
### Message-Streams with Virtual Threads
Demo for [Message streams](https://github.com/jauntsdn/rsocket-jvm) services with simple blocking API using jdk's `virtual threads`,
codegen/protobuf based RPC compatible with GRPC & similar developer experience.
Example showcases how to transfer plain java calls with virtual threads over TCP, unix sockets, websockets,
or consume with GRPC clients.
Also It outlines following properties of applications based on Message-Streams:
* Services,APIs / networking,runtime decoupling
* Tiny service Jar & app distribution size
* Fast startup / first request time
* Small memory footprint
### Building
`./gradlew clean build`
Regenerate service/proto stubs (amd64 linux, windows):
`./gradlew clean build -PgenerateProto=true`