Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Why Reactor Framework? #192

Closed
jochenchrist started this conversation in General
Apr 23, 2025 · 2 comments · 2 replies
Discussion options

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.

You must be logged in to vote

Replies: 2 comments 2 replies

Comment options

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.

You must be logged in to vote
2 replies
Comment options

But the McpServerSession is still reactor, so the issue is still exists.

Comment options

I'm having same annoying problem because of reactor, cannot trace the telemetry, so I'm considering to make other implementation.

Comment options

It is not just about performance benefits. How about bi directional streaming? Reactive programming model supports that. How does virtual threads support?

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /