Skip to content

Properly scale MDM profile delivery for 60k+ hosts #24428

Description

@getvictor

Currently, MDM profile delivery is effectively broken for 60k hosts. See recent loadtest for specific details.

For example, delivering 10 profiles to 60k hosts would result in (10+1)*60k=660k MDM server requests (with multiple DB requests each) over a short period of time.

We can work around this issue by doubling (or tripling) the number of server containers. However, that would be provisioning for the worst case, and those resources would be unused most of the time.

I recommend we explore throttling profile delivery. For example, deliver profiles to 10k hosts every 30 seconds.

Related issue: #23976

Metadata

Metadata

Labels

#g-apple-at-workProduct group focused on Apple devices~backendBackend-related issue.~engineering-initiatedEngineering-initiated story, such as a bug, refactor, or contributor experience improvement.~performance-scaling

Type

No type

Projects

Status
🥚 Ready
Status
🦢 Drafting

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions