-
Notifications
You must be signed in to change notification settings - Fork 794
Why Reactor Framework? #192
-
Pre-submission Checklist
- I have verified that this discussion would not be more appropriate as an issue in a specific repository
- I have searched existing discussions to avoid duplicates
Discussion Topic
I am wondering why Reactor/Netty has been chosen to implement the Java SDK.
In most Java / Spring projects, we still see servlet-based implementations, as reactive programming is pretty complex compared with request/thread-based architecture, and with Virtual Threads, the performance benefits of Reactor almost vanished.
Beta Was this translation helpful? Give feedback.
All reactions
-
👎 1
Replies: 2 comments 2 replies
-
Ah, just found https://github.com/modelcontextprotocol/java-sdk/tree/main/mcp-spring/mcp-spring-webmvc
I was to distracted by the number of dependencies.
Discussion can be closed.
Beta Was this translation helpful? Give feedback.
All reactions
-
But the McpServerSession is still reactor, so the issue is still exists.
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 1
-
I'm having same annoying problem because of reactor, cannot trace the telemetry, so I'm considering to make other implementation.
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 1
-
It is not just about performance benefits. How about bi directional streaming? Reactive programming model supports that. How does virtual threads support?
Beta Was this translation helpful? Give feedback.