https://github.com/jauntsdn/messagestreams-futures-examples
https://github.com/jauntsdn/messagestreams-futures-examples
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/jauntsdn/messagestreams-futures-examples
- Owner: jauntsdn
- Created: 2022-05-31T09:32:30.000Z (about 4 years ago)
- Default Branch: feature/oss
- Last Pushed: 2025-03-28T20:10:54.000Z (about 1 year ago)
- Last Synced: 2025-07-02T03:05:23.500Z (12 months ago)
- Language: Java
- Size: 193 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

[](https://github.com/jauntsdn/message-streams-futures-examples/actions/workflows/ci-build.yml)
### Message-Streams with CompletableFutures
Demo for [Message streams](https://github.com/jauntsdn/rsocket-jvm) - very fast GRPC-like & GRPC-compatible services
on JVM with rich streaming models - using familiar, widespread non-streaming API - jdk's `CompletableFutures`.
It complements [1 million streams](https://jauntsdn.com/post/rsocket-million-streams-2/) stress test report and [message-streams interop](https://github.com/jauntsdn/rsocket-jvm-interop-examples) example with
common single request-reply model found within each REST API server.
Example showcases how to transfer java `CompletableFutures` over TCP, unix sockets, websockets-over-http2,
or consume with GRPC clients.
Also It outlines some properties of `Message-Streams` based applications:
* Services,APIs / networking,runtime decoupling
* Tiny service Jar & app distribution size
* Fast startup / first request time
* Small memory footprint
* Instant startup / even smaller memory footprint with graalvm native image