You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Siddharth Wagle (JIRA)" <ji...@apache.org> on 2018/12/04 05:05:00 UTC

[jira] [Resolved] (AMBARI-20562) Perf: Asynchronous event handling server/agent

     [ https://issues.apache.org/jira/browse/AMBARI-20562?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Siddharth Wagle resolved AMBARI-20562.
--------------------------------------
       Resolution: Fixed
    Fix Version/s:     (was: 3.0.0)
                   2.7.0

> Perf: Asynchronous event handling server/agent
> ----------------------------------------------
>
>                 Key: AMBARI-20562
>                 URL: https://issues.apache.org/jira/browse/AMBARI-20562
>             Project: Ambari
>          Issue Type: Epic
>          Components: ambari-agent, ambari-server
>    Affects Versions: 3.0.0
>            Reporter: Siddharth Wagle
>            Assignee: Siddharth Wagle
>            Priority: Critical
>              Labels: performance
>             Fix For: 2.7.0
>
>         Attachments: event-arch.png
>
>
> Ambari's internal event model is heavily fragmented with some of the events that result in state transitions being synchronous in nature. The proposal of this Epic is to standardize event handling on the server-side and utilize its asynchronous nature to make architecture changes that are geared to towards scaling up the performance of Ambari server. The goal is to support 5K active nodes with this new architecture.
> To summarize the entailment:
> - Write a Global Event Observer to allow clients to subscribe to server side events
> - Use websocket protocol to reduce network chatter between agent and server
> - Reduce the work server has to do to generate STATUS commands for heartbeats.
> - Make execution commands leaner replacing the need for providing topology info and configs with every command, instead rely on event model and agent in-memory state.
> - Re-architect the agent to make it more intelligent towards maintaining topology info, daemon status and configs.
> - Reduce computation requirements for every heartbeat and allow for parallel processing of agent side events
> !event-arch.png!



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)