You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@yunikorn.apache.org by "Manikandan R (Jira)" <ji...@apache.org> on 2021/09/16 16:51:00 UTC

[jira] [Commented] (YUNIKORN-337) interface message complexity

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

Manikandan R commented on YUNIKORN-337:
---------------------------------------

Sharing an WIP proposal doc here..

https://docs.google.com/document/d/1qNGz7JgA5ArfFy5gLC_uhCsP-w9ii-pJoV-Fbh01awU/edit?usp=sharing

It covers the high level (message definitions, events, callback methods etc) changes required at core, scheduler interface and shim side as well.

[~wilfreds] [~wwei] Can you please take a look?

> interface message complexity
> ----------------------------
>
>                 Key: YUNIKORN-337
>                 URL: https://issues.apache.org/jira/browse/YUNIKORN-337
>             Project: Apache YuniKorn
>          Issue Type: Improvement
>          Components: scheduler-interface
>            Reporter: Wilfred Spiegelenburg
>            Assignee: Wilfred Spiegelenburg
>            Priority: Critical
>
> The current interface allows us to only send one message between a shim and the core. This provides us with a really simple way of interactions definition.
> The complexity is however hidden in the message itself. Every message serves multiple purposes and when the message is received the core and shim need to unpack it and process each part separately and for certain parts in a real specific order.
> Because the message serves a number of purposes it has a large overhead. This might not show up in the code directly as the heavy lifting is done in the generated code. It will show up in the amount of data as a message, even if it does not have all fields, still needs to be encoded in a way that it unpacks correctly on the other side.
> The trade off between having one message with a simple interface or multiple more focussed messages with a slightly more complex interface needs to be assessed.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: issues-help@yunikorn.apache.org