Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-4346

Implement basic RPC abstraction

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.5.0
    • Runtime / Coordination

    Description

      As part of refactoring of the cluster management, we can introduce a new RPC abstraction on top of our Akka-based distributed coordination.

      It should address the following issues:

      • Add type safety to the sender and receiver of messages. We want proper types methods to be called, rather than haveing generic message types and pattern matching everywhere. This is similar to typed actors.
      • Make the message receivers testable without involving actors, i.e. the methods should be callable directly. When used with other component, the receiver will be wrapped in an actor that calls the methods based on received messages.
      • We want to keep the paradigm of single-threaded execution per "actor"

      There is some basic code layout in the following branch and commit:

      https://github.com/apache/flink/tree/flip-6/flink-runtime/src/main/java/org/apache/flink/runtime/rpc

      Attachments

        Issue Links

          There are no Sub-Tasks for this issue.

          Activity

            People

              trohrmann Till Rohrmann
              sewen Stephan Ewen
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: