Uploaded image for project: 'controller'
  1. controller
  2. CONTROLLER-1612

Clustering : A fragmentation/defragmentation component for eliminating latency cross-talk between components

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved
    • Resolution: Done
    • Post-Helium
    • None
    • clustering
    • None
    • Operating System: All
      Platform: All

    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.

      Attachments

        1. subchannel-post.png
          87 kB
          HanJie
        2. subchannel-request.png
          95 kB
          HanJie
        3. subchannel-request-simple.png
          66 kB
          Jie Han
        4. subchannel-post-simple.png
          22 kB
          Jie Han
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            jeong_hyun@msn.com HanJie
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: