How deployment updates happen

The deployment update process works like this:

  1. Each agent periodically polls the agent management, identifying itself.
  2. Agent management determines the set of deployment apps for the agent, based on which server classes the agent belongs to.
  3. Agent management gives the agent the list of apps that belong to it, along with the current checksums of those apps.
  4. The agent compares the app info from agent management with its own app info to determine whether there are any new or changed apps that it needs to download.
  5. If there are new or updated apps, the agent downloads them.
  6. Depending on the configuration for a given app, the agent might restart itself before the app changes take effect.