Patent ID: 8892626

Claim:
At a first namespace manager in a namespace federation infrastructure, a computer-implemented method for migrating a namespace branch, the method comprising: receiving a first namespace registration request from a provider to register a resource in a first namespace branch, the first namespace registration request including a namespace string that identifies the first namespace branch and a unique identifier for the provider requesting registration of the resource in the first namespace branch, the first namespace branch being one branch in a plurality of hierarchically-arranged namespace branches of a namespace tree that are managed by a plurality of namespace managers, each namespace branch corresponding to at least one resource within a hierarchical arrangement of a plurality of resources, each namespace branch being registered to a different corresponding provider of a plurality of providers; determining that the first namespace manager has satisfied a policy action associated with a policy constraint based on a processing load of the first namespace manager and based on receiving the first namespace registration request; identifying, based on determining that the first namespace manager has satisfied the policy processing constraint, a second namespace branch that is being managed by the first namespace manager and that can be migrated to a partner second namespace manager of the plurality of namespace managers, to reduce the processing load of the first namespace manager so that the first namespace manager can meet the policy action associated with the policy constraint; migrating the second namespace branch to the partner second namespace manager in response to the policy action, including migrating existing namespace registrations for the second namespace branch; and subsequent to migrating the second namespace branch to the partner second namespace manager, the first namespace manager performing the following: processing the first namespace registration request, to register the resource in the first namespace branch under the first namespace manager; recording a stub indicating that the second namespace branch has been migrated to the partner second namespace manager; revoking one or more subscriptions for liveness notifications for tracking providers and subscribers in the migrated second namespace branch; receiving a second namespace registration request to register a resource in the second namespace branch that was migrated; and redirecting, based on the stub, the second registration request to the partner second namespace manager.