[jboss-jira] [JBoss JIRA] Commented: (JBAS-7941) ClusterPartition should not send service name twice per message

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Thu Apr 15 11:13:25 EDT 2010


    [ https://jira.jboss.org/jira/browse/JBAS-7941?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12525937#action_12525937 ] 

Brian Stansberry commented on JBAS-7941:
----------------------------------------

Background: the serviceName is included in MethodCall.name as a means of passing the serviceName through the RpcDispatcher API. The serviceName is needed to allow HAPartition to multiplex RPCs from disparate services.

> ClusterPartition should not send service name twice per message
> ---------------------------------------------------------------
>
>                 Key: JBAS-7941
>                 URL: https://jira.jboss.org/jira/browse/JBAS-7941
>             Project: JBoss Application Server
>          Issue Type: Task
>      Security Level: Public(Everyone can see) 
>          Components: Clustering
>            Reporter: Brian Stansberry
>            Assignee: Brian Stansberry
>             Fix For: JBossAS-6.0.0.M4
>
>
> ClusterPartition uses a custom RpcDispatcher.Marshaller that encodes the serviceName of the target service in the first element of an Object[].  The service name is also encoded in the "name" property of the MethodCall that forms the second element of the Object[]. This is inefficient:
> 1) It increases the size of the over-the-wire message.
> 2) It forces each recipient to remove the serviceName from the MethodCall.name to figure out the actual method name.
> Change this so the sender's RpcDispatcher.Marshaller removes the serviceName from MethodCall.name before marshalling it.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list