Details
-
New Feature
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
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
Attachments
Issue Links
- blocks
-
FLINK-4319 Rework Cluster Management (FLIP-6)
- Resolved
- relates to
-
FLINK-4399 Add support for oversized messages
- Open
-
FLINK-10718 Use IO executor in RpcService for message serialization
- Open
-
FLINK-15924 Detect and log blocking main thread operations
- Open