Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-20562

Perf: Asynchronous event handling server/agent

    XMLWordPrintableJSON

Details

    • Asynchronous event handling server/agent

    Description

      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

      Attachments

        1. event-arch.png
          68 kB
          Siddharth Wagle

        Activity

          People

            swagle Siddharth Wagle
            swagle Siddharth Wagle
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: