[CONTROLLER-1612] Clustering : A fragmentation/defragmentation component for eliminating latency cross-talk between components Created: 23/Feb/17  Updated: 05/Oct/18  Resolved: 05/Oct/18

Status: Resolved
Project: controller
Component/s: clustering
Affects Version/s: Post-Helium
Fix Version/s: None

Type: Improvement
Reporter: HanJie Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Attachments: PNG File subchannel-post-simple.png     PNG File subchannel-post.png     PNG File subchannel-request-simple.png     PNG File subchannel-request.png    

 Description   

I did some work to implement such a component temporarily named "sal-akka-subchannel" to resolve the latency cross-talk between components.The "sal-akka-subchannel" is based on akka and provides 2 API: request and post, similar to ask and tell in akka.
Please refer to the attachment,any communication component such as FE and BE need to initialize the "sal-akka-subchannel" .
BE like Shard ,must be an Actor,and FE , it could be an Actor like Shard also or not like DDS.
For an BE Actor ,"sal-akka-subchannel" would create a child of it with default actor id like "subchannel-default",
and the actor path would like:"akka.tcp://cluster-test@127.0.0.1:2558/user/xxxxxx/subchannel-default",
which could be used for resolving the path throuth BE Actor's path on FE side simplely.
the key points:
1.many to many,serialization can be performed in parallel for different destination actors,
2.any ReadCmd should call "request" method instead of ask in DDS,and the ReadDataReply should call "post" instead of tell.
3."sal-akka-subchannel" would use no matter Artery or not,it just chunk message like installsnapshot
4.app Actor should separate messages into "sal-akka-subchannel" which would block others like RAFT messages.



 Comments   
Comment by HanJie [ 23/Feb/17 ]

Attachment subchannel-post.png has been added with description: Usage of sal-akka-subchannel Post

Comment by HanJie [ 23/Feb/17 ]

Attachment subchannel-request.png has been added with description: Usage of sal-akka-subchannel Request

Comment by Jie Han [ 26/Apr/17 ]

Add the UML sequence of simple-sunchannel usage.

Comment by Jie Han [ 26/Apr/17 ]

Attachment subchannel-request-simple.png has been added with description: Usage of simple-subchannel request

Comment by Jie Han [ 26/Apr/17 ]

The gerrit link:
https://git.opendaylight.org/gerrit/#/c/56042/1

Comment by Jie Han [ 26/Apr/17 ]

Attachment subchannel-post-simple.png has been added with description: Usage of simple-subchannel post

Generated at Wed Feb 07 19:55:59 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.