Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improved concurrency for sendMessage #89

Open
glassfishrobot opened this issue Jun 18, 2009 · 5 comments
Open

Improved concurrency for sendMessage #89

glassfishrobot opened this issue Jun 18, 2009 · 5 comments

Comments

@glassfishrobot
Copy link

RFE related to fix for shoal issue 88 to change that synchronization
solution to a more performant pool of OutputPipes (one pipe to be used by one
thread at any point in time).

Environment

Operating System: All
Platform: All

Affected Versions

[current]

@glassfishrobot
Copy link
Author

@glassfishrobot Commented
Reported by @jfialli

@glassfishrobot
Copy link
Author

@glassfishrobot Commented
shreedhar_ganapathy said:
Transferring to Joe for eval and closure.

@glassfishrobot
Copy link
Author

@glassfishrobot Commented
@jfialli said:
there are trade offs for concurrent sendMessage when relying on NIO as the ultimate transport.
so this RFE was considered and postponed due to these tradeoffs.

The concurrent processing resulted in not being able to share the same deserialized output stream with
all send messages. Thus, there is also a space usage and/or multiple desserializations necessary for
each concurrent send.

With regular multicast, only one deserialization of the message to be sent was occurring.
With current implementation, there still is only one.

With concurrent send, there were not so obvious tradeoffs.
So this RFE is on hold for now while sorting through the tradeoffs.

@glassfishrobot
Copy link
Author

@glassfishrobot Commented
This issue was imported from java.net JIRA SHOAL-89

@glassfishrobot
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant