Using a rate limit with Apple MDM

In our Apple MDM solution I would like to implement a rate limit, setting a limit on how many devices can interact with the server at any time. Just like an iOS device responds with a NotNow when it is not able to service a request, I was thinking about responding with a 429 (Too Many Requests). How would a device act upon receiving this? Would it try again a little later or would it just give up and wait for a new request?


a) You can try and see what will happen

b) Generally speaking, device behavior is unreliable (documentation doesn't specify how a device will behave in this case, so it can change from version to version)

c) Why do you have this problem at all? A device only attempts to receive a command when you send a push notification. So, instead of limiting who can get a command, just limit push notifications which you are sending.

Need Your Help

Is “if” or “switch” preferable Javascript

javascript if-statement switch-statement

I am building a function which verifies a user's input makes sense in context of the application before it runs a block of code. I'm wondering whether an "if...else" statement like this or a switch

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.