[ 
https://issues.apache.org/jira/browse/S4-9?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13128009#comment-13128009
 ] 

Leo Neumeyer commented on S4-9:
-------------------------------

Implemented a solution for sending local events. Events sent to the local 
partition are no loger sent over the comm layer. If the configuration has a 
single node, there will be no serialization and the event is put in the local 
stream queue directly.

The challenge was to figure out how to make the sender know what its own 
partition was. For now, I did this in App but it will have to be moved to 
Server because this should be a server-level initialization.


                
> Bypass comm layer when target PE is local
> -----------------------------------------
>
>                 Key: S4-9
>                 URL: https://issues.apache.org/jira/browse/S4-9
>             Project: Apache S4
>          Issue Type: Improvement
>            Reporter: Leo Neumeyer
>            Priority: Minor
>
> When the source and target PEs are local we should bypass the comm layer. The 
> event should be put in the local stream directly. Stream must be able to 
> query a comm layer method such as isLocal(). If true, the event is put in the 
> local stream queue directly. This is an optimization.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to